public abstract static class Prepare.PreparedExplain extends Object implements Prepare.PreparedResult
| Constructor and Description |
|---|
Prepare.PreparedExplain(RelDataType rowType,
RelDataType parameterRowType,
RelNode rel,
boolean asXml,
SqlExplainLevel detailLevel) |
| Modifier and Type | Method and Description |
|---|---|
abstract Bindable |
getBindable()
Executes the prepared result.
|
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.
|
RelNode |
getRel() |
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.
|
public Prepare.PreparedExplain(RelDataType rowType, RelDataType parameterRowType, RelNode rel, boolean asXml, 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.PreparedResultpublic RelNode getRel()
public abstract Bindable getBindable()
Prepare.PreparedResultgetBindable in interface Prepare.PreparedResultCopyright © 2012–2015 The Apache Software Foundation. All rights reserved.