public static interface Prepare.PreparedResult
Modifier and Type | Method and Description |
---|---|
Bindable |
getBindable(org.apache.calcite.avatica.Meta.CursorFactory cursorFactory)
Executes the prepared result.
|
java.lang.String |
getCode()
Returns the code generated by preparation.
|
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.
|
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.
|
java.lang.String getCode()
boolean isDml()
TableModify.Operation getTableModOp()
java.util.List<java.util.List<java.lang.String>> getFieldOrigins()
RelDataType getParameterRowType()
Bindable getBindable(org.apache.calcite.avatica.Meta.CursorFactory cursorFactory)
cursorFactory
- How to map values into a cursorCopyright © 2012–2019 The Apache Software Foundation. All rights reserved.