## Uses of Class
org.apache.calcite.avatica.AvaticaStatement

Packages that use AvaticaStatement
org.apache.calcite.avatica: Avatica JDBC framework.

### Uses of AvaticaStatement in org.apache.calcite.avatica

Subclasses of AvaticaStatement in org.apache.calcite.avatica
`private static class` `AvaticaJdbc41Factory.AvaticaJdbc41PreparedStatement` Implementation of PreparedStatement for JDBC 4.1.
`private static class` `AvaticaJdbc41Factory.AvaticaJdbc41Statement` Implementation of Statement for JDBC 4.1.
`class` `AvaticaPreparedStatement` Implementation of `PreparedStatement` for the Avatica engine.

Fields in org.apache.calcite.avatica declared as AvaticaStatement
`protected AvaticaStatement` AvaticaResultSet.`statement`
`(package private) AvaticaStatement` AvaticaResultSetMetaData.`statement`
`private AvaticaStatement` MetaImpl.FetchIterable.`stmt`
`private AvaticaStatement` MetaImpl.FetchIterator.`stmt`

Fields in org.apache.calcite.avatica with type parameters of type AvaticaStatement
`java.util.Map<java.lang.Integer,​AvaticaStatement>` AvaticaConnection.`statementMap`

Methods in org.apache.calcite.avatica that return AvaticaStatement
`AvaticaStatement` AvaticaConnection.`createStatement()`
`AvaticaStatement` AvaticaConnection.`createStatement​(int resultSetType, int resultSetConcurrency, int resultSetHoldability)`
`AvaticaStatement` AvaticaResultSet.`getStatement()`
`protected AvaticaStatement` AvaticaConnection.`lookupStatement​(Meta.StatementHandle h)` Creates a statement wrapper around an existing handle.
`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)`

Methods in org.apache.calcite.avatica with parameters of type AvaticaStatement
`protected java.sql.ResultSet` AvaticaConnection.`executeQueryInternal​(AvaticaStatement statement, Meta.Signature signature, Meta.Frame firstFrame, QueryState state, boolean isUpdate)` Executes a prepared query, closing any previously open result set.
`Meta.Frame` MetaImpl.`fetch​(AvaticaStatement stmt, java.util.List<TypedValue> parameterValues, long offset, int fetchMaxRowCount)`
`java.util.List<TypedValue>` AvaticaConnection.Trojan.`getParameterValues​(AvaticaStatement statement)` A means for anyone who has a trojan to call the protected method `getParameterValues()`.
`private void` AvaticaConnection.`isUpdateCapable​(AvaticaStatement statement)` Returns whether a a statement is capable of updates and if so, and the statement's `updateCount` is still -1, proceeds to get updateCount value from statement's resultSet.
`AvaticaResultSet` AvaticaFactory.`newResultSet​(AvaticaStatement statement, QueryState state, Meta.Signature signature, java.util.TimeZone timeZone, Meta.Frame firstFrame)` Creates a result set.
`AvaticaResultSet` AvaticaJdbc41Factory.`newResultSet​(AvaticaStatement statement, QueryState state, Meta.Signature signature, java.util.TimeZone timeZone, Meta.Frame firstFrame)`
`java.sql.ResultSetMetaData` AvaticaFactory.`newResultSetMetaData​(AvaticaStatement statement, Meta.Signature signature)` Creates meta data for a result set.
`AvaticaResultSetMetaData` AvaticaJdbc41Factory.`newResultSetMetaData​(AvaticaStatement statement, Meta.Signature signature)`
`void` Handler.`onStatementClose​(AvaticaStatement statement)` Called by container when a statement is being closed.
`void` HandlerImpl.`onStatementClose​(AvaticaStatement statement)`
`void` Handler.`onStatementExecute​(AvaticaStatement statement, Handler.ResultSink resultSink)` Called by container when a statement is being executed.
`void` HandlerImpl.`onStatementExecute​(AvaticaStatement statement, Handler.ResultSink resultSink)`
`protected Meta.ExecuteResult` AvaticaConnection.`prepareAndExecuteInternal​(AvaticaStatement statement, java.lang.String sql, long maxRowCount)`
`protected Meta.ExecuteBatchResult` AvaticaConnection.`prepareAndUpdateBatch​(AvaticaStatement statement, java.util.List<java.lang.String> queries)`

Constructors in org.apache.calcite.avatica with parameters of type AvaticaStatement
`AvaticaResultSet​(AvaticaStatement statement, QueryState state, Meta.Signature signature, java.sql.ResultSetMetaData resultSetMetaData, java.util.TimeZone timeZone, Meta.Frame firstFrame)` Creates an `AvaticaResultSet`.
`AvaticaResultSetMetaData​(AvaticaStatement statement, java.lang.Object query, Meta.Signature signature)`
`FetchIterable​(AvaticaStatement stmt, QueryState state, Meta.Frame firstFrame)`
`FetchIterator​(AvaticaStatement stmt, QueryState state, Meta.Frame firstFrame)`