public abstract static class Prepare.PreparedResultImpl extends Object implements Prepare.PreparedResult, Typed
Prepare.PreparedResult.| Modifier and Type | Field and Description |
|---|---|
protected List<List<String>> |
fieldOrigins |
protected boolean |
isDml |
protected RelDataType |
parameterRowType |
protected RelNode |
rootRel |
protected RelDataType |
rowType |
protected TableModify.Operation |
tableModOp |
| Constructor and Description |
|---|
Prepare.PreparedResultImpl(RelDataType rowType,
RelDataType parameterRowType,
List<List<String>> fieldOrigins,
RelNode rootRel,
TableModify.Operation tableModOp,
boolean isDml) |
| Modifier and Type | Method and Description |
|---|---|
abstract Bindable |
getBindable()
Executes the prepared result.
|
abstract Type |
getElementType()
Gets the type of the element(s) that are returned in this collection.
|
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.
|
RelDataType |
getPhysicalRowType()
Returns the physical row type of this prepared statement.
|
RelNode |
getRootRel() |
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, waitgetCodeprotected final RelNode rootRel
protected final RelDataType parameterRowType
protected final RelDataType rowType
protected final boolean isDml
protected final TableModify.Operation tableModOp
public Prepare.PreparedResultImpl(RelDataType rowType, RelDataType parameterRowType, List<List<String>> fieldOrigins, RelNode rootRel, TableModify.Operation tableModOp, boolean isDml)
public 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 RelDataType getParameterRowType()
Prepare.PreparedResultgetParameterRowType in interface Prepare.PreparedResultpublic RelDataType getPhysicalRowType()
public abstract Type getElementType()
TypedgetElementType in interface Typedpublic RelNode getRootRel()
public abstract Bindable getBindable()
Prepare.PreparedResultgetBindable in interface Prepare.PreparedResultCopyright © 2012–2015 The Apache Software Foundation. All rights reserved.