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

Packages that use Meta.StatementHandle
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
`Meta.StatementHandle` AvaticaStatement.`handle` Statement id; unique within connection.
`private Meta.StatementHandle` MissingResultsException.`handle`
`private Meta.StatementHandle` NoSuchStatementException.`stmtHandle`

Methods in org.apache.calcite.avatica that return Meta.StatementHandle
`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, java.lang.String sql, long maxRowCount)` Prepares a statement.

Methods in org.apache.calcite.avatica with parameters of type Meta.StatementHandle
`void` Meta.`closeStatement​(Meta.StatementHandle h)` Closes a statement.
`java.lang.Iterable<java.lang.Object>` Meta.`createIterable​(Meta.StatementHandle stmt, QueryState state, Meta.Signature signature, java.util.List<TypedValue> parameters, Meta.Frame firstFrame)` Creates an iterable for a result set.
`java.lang.Iterable<java.lang.Object>` MetaImpl.`createIterable​(Meta.StatementHandle handle, QueryState state, Meta.Signature signature, java.util.List<TypedValue> parameterValues, Meta.Frame firstFrame)`
`Meta.ExecuteResult` Meta.`execute​(Meta.StatementHandle h, java.util.List<TypedValue> parameterValues, int maxRowsInFirstFrame)` Executes a prepared statement.
`Meta.ExecuteResult` Meta.`execute​(Meta.StatementHandle h, java.util.List<TypedValue> parameterValues, long maxRowCount)` Deprecated. See `Meta.execute(StatementHandle, List, int)`
`Meta.ExecuteBatchResult` Meta.`executeBatch​(Meta.StatementHandle h, java.util.List<java.util.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.
`java.util.concurrent.atomic.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` AvaticaFactory.`newPreparedStatement​(AvaticaConnection connection, Meta.StatementHandle h, Meta.Signature signature, int resultSetType, int resultSetConcurrency, int resultSetHoldability)`
`AvaticaPreparedStatement` AvaticaJdbc41Factory.`newPreparedStatement​(AvaticaConnection connection, Meta.StatementHandle h, Meta.Signature signature, int resultSetType, int resultSetConcurrency, int resultSetHoldability)`
`AvaticaStatement` AvaticaFactory.`newStatement​(AvaticaConnection connection, Meta.StatementHandle h, int resultSetType, int resultSetConcurrency, int resultSetHoldability)`
`AvaticaStatement` AvaticaJdbc41Factory.`newStatement​(AvaticaConnection connection, Meta.StatementHandle h, int resultSetType, int resultSetConcurrency, int resultSetHoldability)`
`Meta.ExecuteResult` Meta.`prepareAndExecute​(Meta.StatementHandle h, java.lang.String sql, long maxRowCount, int maxRowsInFirstFrame, Meta.PrepareCallback callback)` Prepares and executes a statement.
`Meta.ExecuteResult` Meta.`prepareAndExecute​(Meta.StatementHandle h, java.lang.String sql, long maxRowCount, Meta.PrepareCallback callback)` Deprecated. See `Meta.prepareAndExecute(StatementHandle, String, long, int, PrepareCallback)`
`Meta.ExecuteBatchResult` Meta.`prepareAndExecuteBatch​(Meta.StatementHandle h, java.util.List<java.lang.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
`AvaticaJdbc41PreparedStatement​(AvaticaConnection connection, Meta.StatementHandle h, Meta.Signature signature, int resultSetType, int resultSetConcurrency, int resultSetHoldability)`
`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
`Meta.StatementHandle` Service.PrepareResponse.`statement`
`Meta.StatementHandle` Service.ExecuteRequest.`statementHandle`

Methods in org.apache.calcite.avatica.remote that return Meta.StatementHandle
`Meta.StatementHandle` RemoteMeta.`createStatement​(Meta.ConnectionHandle ch)`
`(package private) Meta.StatementHandle` AbstractService.`finagle​(Meta.StatementHandle h)`
`Meta.StatementHandle` RemoteMeta.`prepare​(Meta.ConnectionHandle ch, java.lang.String sql, long maxRowCount)`

Methods in org.apache.calcite.avatica.remote with parameters of type Meta.StatementHandle
`void` RemoteMeta.`closeStatement​(Meta.StatementHandle h)`
`Meta.ExecuteResult` RemoteMeta.`execute​(Meta.StatementHandle h, java.util.List<TypedValue> parameterValues, int maxRowsInFirstFrame)`
`Meta.ExecuteResult` RemoteMeta.`execute​(Meta.StatementHandle h, java.util.List<TypedValue> parameterValues, long maxRowCount)`
`Meta.ExecuteBatchResult` RemoteMeta.`executeBatch​(Meta.StatementHandle h, java.util.List<java.util.List<TypedValue>> parameterValues)`
`Meta.ExecuteBatchResult` ProtobufMeta.`executeBatchProtobuf​(Meta.StatementHandle h, java.util.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, java.lang.String sql, long maxRowCount, int maxRowsInFirstFrame, Meta.PrepareCallback callback)`
`Meta.ExecuteResult` RemoteMeta.`prepareAndExecute​(Meta.StatementHandle h, java.lang.String sql, long maxRowCount, Meta.PrepareCallback callback)`
`Meta.ExecuteBatchResult` RemoteMeta.`prepareAndExecuteBatch​(Meta.StatementHandle h, java.util.List<java.lang.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
`ExecuteRequest​(Meta.StatementHandle statementHandle, java.util.List<TypedValue> parameterValues, int maxRowCount)`
`PrepareResponse​(Meta.StatementHandle statement, Service.RpcMetadataResponse rpcMetadata)`