public abstract static class Prepare.PreparedResultImpl extends java.lang.Object implements Prepare.PreparedResult, Typed
Prepare.PreparedResult
.Modifier and Type | Field and Description |
---|---|
protected java.util.List<RelCollation> |
collations |
protected java.util.List<java.util.List<java.lang.String>> |
fieldOrigins |
protected boolean |
isDml |
protected RelDataType |
parameterRowType |
protected RelNode |
rootRel |
protected RelDataType |
rowType |
protected TableModify.Operation |
tableModOp |
Constructor and Description |
---|
PreparedResultImpl(RelDataType rowType,
RelDataType parameterRowType,
java.util.List<java.util.List<java.lang.String>> fieldOrigins,
java.util.List<RelCollation> collations,
RelNode rootRel,
TableModify.Operation tableModOp,
boolean isDml) |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.reflect.Type |
getElementType()
Gets the type of the element(s) that are returned in this collection.
|
java.util.List<java.util.List<java.lang.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, wait
getBindable, getCode
protected final RelNode rootRel
protected final RelDataType parameterRowType
protected final RelDataType rowType
protected final boolean isDml
protected final TableModify.Operation tableModOp
protected final java.util.List<java.util.List<java.lang.String>> fieldOrigins
protected final java.util.List<RelCollation> collations
public PreparedResultImpl(RelDataType rowType, RelDataType parameterRowType, java.util.List<java.util.List<java.lang.String>> fieldOrigins, java.util.List<RelCollation> collations, RelNode rootRel, TableModify.Operation tableModOp, boolean isDml)
public boolean isDml()
Prepare.PreparedResult
isDml
in interface Prepare.PreparedResult
public TableModify.Operation getTableModOp()
Prepare.PreparedResult
getTableModOp
in interface Prepare.PreparedResult
public java.util.List<java.util.List<java.lang.String>> getFieldOrigins()
Prepare.PreparedResult
getFieldOrigins
in interface Prepare.PreparedResult
public RelDataType getParameterRowType()
Prepare.PreparedResult
getParameterRowType
in interface Prepare.PreparedResult
public RelDataType getPhysicalRowType()
public abstract java.lang.reflect.Type getElementType()
Typed
getElementType
in interface Typed
public RelNode getRootRel()
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.