public abstract static class Prepare.PreparedExplain extends Object implements Prepare.PreparedResult
| Modifier and Type | Field and Description |
|---|---|
private SqlExplainLevel |
detailLevel |
private SqlExplainFormat |
format |
private RelDataType |
parameterRowType |
private RelRoot |
root |
private RelDataType |
rowType |
| Constructor and Description |
|---|
PreparedExplain(RelDataType rowType,
RelDataType parameterRowType,
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, waitgetBindableprivate final RelDataType rowType
private final RelDataType parameterRowType
private final RelRoot root
private final SqlExplainFormat format
private final SqlExplainLevel detailLevel
public PreparedExplain(RelDataType rowType, RelDataType parameterRowType, 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–2018 The Apache Software Foundation. All rights reserved.