public abstract static class Prepare.PreparedExplain extends Object implements Prepare.PreparedResult
| Modifier | Constructor and Description |
|---|---|
protected |
PreparedExplain(@Nullable RelDataType rowType,
RelDataType parameterRowType,
@Nullable RelRoot root,
SqlExplainFormat format,
SqlExplainLevel detailLevel) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode()
Returns the code generated by preparation.
|
List<List<String>> |
getFieldOrigins()
Returns a list describing, for each result field, the origin of the
field as a 4-element list of (database, schema, table, column).
|
RelDataType |
getParameterRowType()
Returns a record type whose fields are the parameters of this statement.
|
TableModify.Operation |
getTableModOp()
Returns the table modification operation corresponding to this
statement if it is a table modification statement; otherwise null.
|
boolean |
isDml()
Returns whether this result is for a DML statement, in which case the
result set is one row with one column containing the number of rows
affected.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBindableprotected PreparedExplain(@Nullable RelDataType rowType, RelDataType parameterRowType, @Nullable RelRoot root, SqlExplainFormat format, SqlExplainLevel detailLevel)
public String getCode()
Prepare.PreparedResultgetCode in interface Prepare.PreparedResultpublic RelDataType getParameterRowType()
Prepare.PreparedResultgetParameterRowType in interface Prepare.PreparedResultpublic boolean isDml()
Prepare.PreparedResultisDml in interface Prepare.PreparedResultpublic TableModify.Operation getTableModOp()
Prepare.PreparedResultgetTableModOp in interface Prepare.PreparedResultpublic List<List<String>> getFieldOrigins()
Prepare.PreparedResultgetFieldOrigins in interface Prepare.PreparedResultCopyright © 2012-2022 Apache Software Foundation. All Rights Reserved.