## Uses of Class
org.apache.calcite.avatica.Meta.StatementHandle

Packages that use Meta.StatementHandle
Package | Description
--- | ---
org.apache.calcite.avatica | Avatica JDBC framework.
org.apache.calcite.avatica.remote | JDBC driver that uses remote procedure calls.

### Uses of Meta.StatementHandle in org.apache.calcite.avatica

Fields in org.apache.calcite.avatica declared as Meta.StatementHandle
Modifier and Type | Field and Description
--- | ---
`private Meta.StatementHandle` | MissingResultsException.`handle`
`Meta.StatementHandle` | AvaticaStatement.`handle` Statement id; unique within connection.
`private Meta.StatementHandle` | NoSuchStatementException.`stmtHandle`

Methods in org.apache.calcite.avatica that return Meta.StatementHandle
Modifier and Type | Method and Description
--- | ---
`Meta.StatementHandle` | Meta.`createStatement(Meta.ConnectionHandle ch)` Called during the creation of a statement to allocate a new handle.
`Meta.StatementHandle` | MetaImpl.`createStatement(Meta.ConnectionHandle ch)`
`static Meta.StatementHandle` | Meta.StatementHandle.`fromProto(Common.StatementHandle protoHandle)`
`Meta.StatementHandle` | MissingResultsException.`getHandle()`
`Meta.StatementHandle` | NoSuchStatementException.`getStatementHandle()`
`Meta.StatementHandle` | Meta.`prepare(Meta.ConnectionHandle ch, String sql, long maxRowCount)` Prepares a statement.

Methods in org.apache.calcite.avatica with parameters of type Meta.StatementHandle
Modifier and Type | Method and Description
--- | ---
`void` | Meta.`closeStatement(Meta.StatementHandle h)` Closes a statement.
`Iterable<Object>` | Meta.`createIterable(Meta.StatementHandle stmt, QueryState state, Meta.Signature signature, List<TypedValue> parameterValues, Meta.Frame firstFrame)` Creates an iterable for a result set.
`Iterable<Object>` | MetaImpl.`createIterable(Meta.StatementHandle handle, QueryState state, Meta.Signature signature, List<TypedValue> parameterValues, Meta.Frame firstFrame)`
`Meta.ExecuteResult` | Meta.`execute(Meta.StatementHandle h, List<TypedValue> parameterValues, int maxRowsInFirstFrame)` Executes a prepared statement.
`Meta.ExecuteResult` | Meta.`execute(Meta.StatementHandle h, List<TypedValue> parameterValues, long maxRowCount)` Deprecated. See `Meta.execute(StatementHandle, List, int)`
`Meta.ExecuteBatchResult` | Meta.`executeBatch(Meta.StatementHandle h, List<List<TypedValue>> parameterValues)` Executes a collection of bound parameter values on a prepared statement.
`Meta.Frame` | Meta.`fetch(Meta.StatementHandle h, long offset, int fetchMaxRowCount)` Returns a frame of rows.
`AtomicBoolean` | AvaticaConnection.`getCancelFlag(Meta.StatementHandle h)` Returns or creates a slot whose state can be changed to cancel a statement.
`protected AvaticaStatement` | AvaticaConnection.`lookupStatement(Meta.StatementHandle h)` Creates a statement wrapper around an existing handle.
`AvaticaPreparedStatement` | AvaticaJdbc41Factory.`newPreparedStatement(AvaticaConnection connection, Meta.StatementHandle h, Meta.Signature signature, int resultSetType, int resultSetConcurrency, int resultSetHoldability)`
`AvaticaPreparedStatement` | AvaticaFactory.`newPreparedStatement(AvaticaConnection connection, Meta.StatementHandle h, Meta.Signature signature, int resultSetType, int resultSetConcurrency, int resultSetHoldability)`
`AvaticaStatement` | AvaticaJdbc41Factory.`newStatement(AvaticaConnection connection, Meta.StatementHandle h, int resultSetType, int resultSetConcurrency, int resultSetHoldability)`
`AvaticaStatement` | AvaticaFactory.`newStatement(AvaticaConnection connection, Meta.StatementHandle h, int resultSetType, int resultSetConcurrency, int resultSetHoldability)`
`Meta.ExecuteResult` | Meta.`prepareAndExecute(Meta.StatementHandle h, String sql, long maxRowCount, int maxRowsInFirstFrame, Meta.PrepareCallback callback)` Prepares and executes a statement.
`Meta.ExecuteResult` | Meta.`prepareAndExecute(Meta.StatementHandle h, String sql, long maxRowCount, Meta.PrepareCallback callback)` Deprecated. See `Meta.prepareAndExecute(StatementHandle, String, long, int, PrepareCallback)`
`Meta.ExecuteBatchResult` | Meta.`prepareAndExecuteBatch(Meta.StatementHandle h, List<String> sqlCommands)` Prepares a statement and then executes a number of SQL commands in one pass.
`boolean` | Meta.`syncResults(Meta.StatementHandle sh, QueryState state, long offset)` Re-sets the `ResultSet` on a Statement.

Constructors in org.apache.calcite.avatica with parameters of type Meta.StatementHandle
Constructor and Description
`AvaticaJdbc41Factory.AvaticaJdbc41PreparedStatement(AvaticaConnection connection, Meta.StatementHandle h, Meta.Signature signature, int resultSetType, int resultSetConcurrency, int resultSetHoldability)`
`AvaticaJdbc41Factory.AvaticaJdbc41Statement(AvaticaConnection connection, Meta.StatementHandle h, int resultSetType, int resultSetConcurrency, int resultSetHoldability)`
`AvaticaPreparedStatement(AvaticaConnection connection, Meta.StatementHandle h, Meta.Signature signature, int resultSetType, int resultSetConcurrency, int resultSetHoldability)` Creates an AvaticaPreparedStatement.
`AvaticaStatement(AvaticaConnection connection, Meta.StatementHandle h, int resultSetType, int resultSetConcurrency, int resultSetHoldability)` Creates an AvaticaStatement.
`AvaticaStatement(AvaticaConnection connection, Meta.StatementHandle h, int resultSetType, int resultSetConcurrency, int resultSetHoldability, Meta.Signature signature)`
`MissingResultsException(Meta.StatementHandle handle)`
`NoSuchStatementException(Meta.StatementHandle stmtHandle)`

### Uses of Meta.StatementHandle in org.apache.calcite.avatica.remote

Fields in org.apache.calcite.avatica.remote declared as Meta.StatementHandle
Modifier and Type | Field and Description
--- | ---
`Meta.StatementHandle` | Service.PrepareResponse.`statement`
`Meta.StatementHandle` | Service.ExecuteRequest.`statementHandle`

Methods in org.apache.calcite.avatica.remote that return Meta.StatementHandle
Modifier and Type | Method and Description
--- | ---
`Meta.StatementHandle` | RemoteMeta.`createStatement(Meta.ConnectionHandle ch)`
`(package private) Meta.StatementHandle` | AbstractService.`finagle(Meta.StatementHandle h)`
`Meta.StatementHandle` | RemoteMeta.`prepare(Meta.ConnectionHandle ch, String sql, long maxRowCount)`

Methods in org.apache.calcite.avatica.remote with parameters of type Meta.StatementHandle
Modifier and Type | Method and Description
--- | ---
`void` | RemoteMeta.`closeStatement(Meta.StatementHandle h)`
`Meta.ExecuteResult` | RemoteMeta.`execute(Meta.StatementHandle h, List<TypedValue> parameterValues, int maxRowsInFirstFrame)`
`Meta.ExecuteResult` | RemoteMeta.`execute(Meta.StatementHandle h, List<TypedValue> parameterValues, long maxRowCount)`
`Meta.ExecuteBatchResult` | RemoteMeta.`executeBatch(Meta.StatementHandle h, List<List<TypedValue>> parameterValues)`
`Meta.ExecuteBatchResult` | ProtobufMeta.`executeBatchProtobuf(Meta.StatementHandle h, List<Requests.UpdateBatch> parameterValues)` Executes a batch of commands on a prepared statement.
`Meta.Frame` | RemoteMeta.`fetch(Meta.StatementHandle h, long offset, int fetchMaxRowCount)`
`(package private) Meta.StatementHandle` | AbstractService.`finagle(Meta.StatementHandle h)`
`Meta.ExecuteResult` | RemoteMeta.`prepareAndExecute(Meta.StatementHandle h, String sql, long maxRowCount, int maxRowsInFirstFrame, Meta.PrepareCallback callback)`
`Meta.ExecuteResult` | RemoteMeta.`prepareAndExecute(Meta.StatementHandle h, String sql, long maxRowCount, Meta.PrepareCallback callback)`
`Meta.ExecuteBatchResult` | RemoteMeta.`prepareAndExecuteBatch(Meta.StatementHandle h, List<String> sqlCommands)`
`boolean` | RemoteMeta.`syncResults(Meta.StatementHandle h, QueryState state, long offset)`

Constructors in org.apache.calcite.avatica.remote with parameters of type Meta.StatementHandle
Constructor and Description
`Service.ExecuteRequest(Meta.StatementHandle statementHandle, List<TypedValue> parameterValues, long maxRowCount)`
`Service.PrepareResponse(Meta.StatementHandle statement, Service.RpcMetadataResponse rpcMetadata)`