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

Packages that use AvaticaConnection
org.apache.calcite.avatica: Avatica JDBC framework.
org.apache.calcite.avatica.remote: JDBC driver that uses remote procedure calls.

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

Subclasses of AvaticaConnection in org.apache.calcite.avatica
`private static class` `AvaticaJdbc41Factory.AvaticaJdbc41Connection` Implementation of Connection for JDBC 4.1.

Fields in org.apache.calcite.avatica declared as AvaticaConnection
`AvaticaConnection` AvaticaStatement.`connection`
`protected AvaticaConnection` MetaImpl.`connection` The `AvaticaConnection` backing `this`.
`private AvaticaConnection` AvaticaDatabaseMetaData.`connection`

Methods in org.apache.calcite.avatica that return AvaticaConnection
`AvaticaConnection` AvaticaStatement.`getConnection()`
`AvaticaConnection` AvaticaFactory.`newConnection(UnregisteredDriver driver, AvaticaFactory factory, String url, Properties info)`
`AvaticaConnection` AvaticaJdbc41Factory.`newConnection(UnregisteredDriver driver, AvaticaFactory factory, String url, Properties info)`

Methods in org.apache.calcite.avatica with parameters of type AvaticaConnection
`abstract Meta` UnregisteredDriver.`createMeta(AvaticaConnection connection)` Creates a service handler that will give connections from this Driver their behavior.
`Meta` AvaticaConnection.Trojan.`getMeta(AvaticaConnection connection)` A means for anyone who has a trojan to get the protected field `meta`.
`AvaticaSpecificDatabaseMetaData` AvaticaFactory.`newDatabaseMetaData(AvaticaConnection connection)` Creates meta data for the database.
`AvaticaSpecificDatabaseMetaData` AvaticaJdbc41Factory.`newDatabaseMetaData(AvaticaConnection connection)`
`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)`
`void` HandlerImpl.`onConnectionClose(AvaticaConnection connection)`
`void` Handler.`onConnectionClose(AvaticaConnection connection)` Called by container when a connection is being closed.
`void` HandlerImpl.`onConnectionInit(AvaticaConnection connection)`
`void` Handler.`onConnectionInit(AvaticaConnection connection)` Called by container when a connection is being created.

Constructors in org.apache.calcite.avatica with parameters of type AvaticaConnection
Constructor and Description
`AvaticaDatabaseMetaData(AvaticaConnection connection)`
`AvaticaJdbc41DatabaseMetaData(AvaticaConnection connection)`
`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)`
`MetaImpl(AvaticaConnection connection)`

### Uses of AvaticaConnection in org.apache.calcite.avatica.remote

Methods in org.apache.calcite.avatica.remote with parameters of type AvaticaConnection
`Service` MockJsonService.Factory.`create(AvaticaConnection connection)`
`Service` Service.Factory.`create(AvaticaConnection connection)`
`Service` MockProtobufService.MockProtobufServiceFactory.`create(AvaticaConnection connection)`
`Meta` Driver.`createMeta(AvaticaConnection connection)`
`(package private) Service` Driver.`createService(AvaticaConnection connection, ConnectionConfig config)` Creates a `Service` with the given `AvaticaConnection` and configuration.
`(package private) AvaticaHttpClient` Driver.`getHttpClient(AvaticaConnection connection, ConnectionConfig config)` Creates the HTTP client that communicates with the Avatica server.

Constructors in org.apache.calcite.avatica.remote with parameters of type AvaticaConnection
Constructor and Description
`RemoteMeta(AvaticaConnection connection, Service service)`