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

Packages that use AvaticaStatement
Package | Description
--- | ---
org.apache.calcite.avatica | Avatica JDBC framework.

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

Subclasses of AvaticaStatement in org.apache.calcite.avatica
Modifier and Type | Class and Description
--- | ---
`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
Modifier and Type | Field and Description
--- | ---
`(package private) AvaticaStatement` | AvaticaResultSetMetaData.`statement`
`protected AvaticaStatement` | AvaticaResultSet.`statement`
`private AvaticaStatement` | MetaImpl.FetchIterable.`stmt`
`private AvaticaStatement` | MetaImpl.FetchIterator.`stmt`

Fields in org.apache.calcite.avatica with type parameters of type AvaticaStatement
Modifier and Type | Field and Description
--- | ---
`Map<Integer,AvaticaStatement>` | AvaticaConnection.`statementMap`

Methods in org.apache.calcite.avatica that return AvaticaStatement
Modifier and Type | Method and Description
--- | ---
`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` | 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)`

Methods in org.apache.calcite.avatica with parameters of type AvaticaStatement
Modifier and Type | Method and Description
--- | ---
`protected 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, List<TypedValue> parameterValues, long offset, int fetchMaxRowCount)`
`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` | AvaticaJdbc41Factory.`newResultSet(AvaticaStatement statement, QueryState state, Meta.Signature signature, TimeZone timeZone, Meta.Frame firstFrame)`
`AvaticaResultSet` | AvaticaFactory.`newResultSet(AvaticaStatement statement, QueryState state, Meta.Signature signature, TimeZone timeZone, Meta.Frame firstFrame)` Creates a result set.
`AvaticaResultSetMetaData` | AvaticaJdbc41Factory.`newResultSetMetaData(AvaticaStatement statement, Meta.Signature signature)`
`ResultSetMetaData` | AvaticaFactory.`newResultSetMetaData(AvaticaStatement statement, Meta.Signature signature)` Creates meta data for a result set.
`void` | HandlerImpl.`onStatementClose(AvaticaStatement statement)`
`void` | Handler.`onStatementClose(AvaticaStatement statement)` Called by container when a statement is being closed.
`void` | HandlerImpl.`onStatementExecute(AvaticaStatement statement, Handler.ResultSink resultSink)`
`void` | Handler.`onStatementExecute(AvaticaStatement statement, Handler.ResultSink resultSink)` Called by container when a statement is being executed.
`protected Meta.ExecuteResult` | AvaticaConnection.`prepareAndExecuteInternal(AvaticaStatement statement, String sql, long maxRowCount)`
`protected Meta.ExecuteBatchResult` | AvaticaConnection.`prepareAndUpdateBatch(AvaticaStatement statement, List<String> queries)`

Constructors in org.apache.calcite.avatica with parameters of type AvaticaStatement
Constructor and Description
`AvaticaResultSet(AvaticaStatement statement, QueryState state, Meta.Signature signature, ResultSetMetaData resultSetMetaData, TimeZone timeZone, Meta.Frame firstFrame)` Creates an `AvaticaResultSet`.
`AvaticaResultSetMetaData(AvaticaStatement statement, Object query, Meta.Signature signature)`
`MetaImpl.FetchIterable(AvaticaStatement stmt, QueryState state, Meta.Frame firstFrame, List<TypedValue> parameterValues)`
`MetaImpl.FetchIterator(AvaticaStatement stmt, QueryState state, Meta.Frame firstFrame, List<TypedValue> parameterValues)`