## Uses of Class
com.pivotal.gemfirexd.internal.client.am.Connection

Packages that use Connection
Package | Description
--- | ---
com.pivotal.gemfirexd.internal.client.am |
com.pivotal.gemfirexd.internal.client.net |
com.pivotal.gemfirexd.internal.jdbc |

### Uses of Connection in com.pivotal.gemfirexd.internal.client.am

Fields in com.pivotal.gemfirexd.internal.client.am declared as Connection
Modifier and Type | Field and Description
--- | ---
`protected Connection` | UpdateSensitiveLOBLocatorInputStream.`con`
`protected Connection` | DatabaseMetaData.`connection_`
`Connection` | ResultSet.`connection_`
`protected Connection` | Sqlca.`connection_`
`protected Connection` | LogicalConnection.`physicalConnection_`

Methods in com.pivotal.gemfirexd.internal.client.am that return Connection
Modifier and Type | Method and Description
--- | ---
`Connection` | ClientJDBCObjectFactory.`newNetConnection(LogWriter netLogWriter, ClientBaseDataSource clientDataSource, String user, String password)` This method returns an instance of NetConnection (or NetConnection40) class which extends from com.pivotal.gemfirexd.internal.client.am.Connection this implements the java.sql.Connection interface
`Connection` | ClientJDBCObjectFactory.`newNetConnection(LogWriter netLogWriter, int driverManagerLoginTimeout, String serverName, int portNumber, String databaseName, Properties properties)` This method returns an instance of NetConnection (or NetConnection40) class which extends from com.pivotal.gemfirexd.internal.client.am.Connection this implements the java.sql.Connection interface
`Connection` | ClientJDBCObjectFactory.`newNetConnection(LogWriter netLogWriter, String ipaddr, int portNumber, ClientBaseDataSource dataSource, boolean isXAConn)` This methos returns an instance of NetConnection (or NetConnection40) class which extends from com.pivotal.gemfirexd.internal.client.am.Connection this implements the java.sql.Connection interface
`Connection` | ClientJDBCObjectFactory.`newNetConnection(LogWriter netLogWriter, String databaseName, Properties properties)` This method returns an instance of NetConnection (or NetConnection40) class which extends from com.pivotal.gemfirexd.internal.client.am.Connection this implements the java.sql.Connection interface
`Connection` | ClientJDBCObjectFactory.`newNetConnection(LogWriter netLogWriter, String user, String password, ClientBaseDataSource dataSource, int rmId, boolean isXAConn)` This method returns an instance of NetConnection (or NetConnection40) class which extends from com.pivotal.gemfirexd.internal.client.am.Connection this implements the java.sql.Connection interface

`Connection`

ClientJDBCObjectFactory.`newNetConnection(LogWriter netLogWriter, String user, String password, ClientBaseDataSource dataSource, int rmId, boolean isXAConn, ClientPooledConnection cpc)`
This method returns an instance of NetConnection (or NetConnection40) class which extends from com.pivotal.gemfirexd.internal.client.am.Connection this implements the java.sql.Connection interface This method is used to pass the ClientPooledConnection object to the NetConnection object which can then be used to pass the statement events back to the user

Methods in com.pivotal.gemfirexd.internal.client.am with parameters of type Connection
Modifier and Type | Method and Description
--- | ---
`LogicalConnection` | ClientJDBCObjectFactory.`newCachingLogicalConnection(Connection physicalConnection, ClientPooledConnection pooledConnection, JDBCStatementCache stmtCache)` Returns an instance of a `CachingLogicalConnection`, which provides caching of prepared statements.
`CallableStatement` | ClientJDBCObjectFactory.`newCallableStatement(Agent agent, Connection connection, String sql, int type, int concurrency, int holdability, ClientPooledConnection cpc)` Returns an instance of com.pivotal.gemfirexd.internal.client.am.CallableStatement.
`LogicalConnection` | ClientJDBCObjectFactory.`newLogicalConnection(Connection physicalConnection, ClientPooledConnection pooledConnection)` Returns an instance of LogicalConnection.
`DatabaseMetaData` | ClientJDBCObjectFactory.`newNetDatabaseMetaData(Agent netAgent, Connection netConnection)` This method provides an instance of NetDatabaseMetaData (or NetDatabaseMetaData40) which extends from com.pivotal.gemfirexd.internal.client.am.DatabaseMetaData which implements java.sql.DatabaseMetaData

`PreparedStatement`

ClientJDBCObjectFactory.`newPreparedStatement(Agent agent, Connection connection, String sql, int type, int concurrency, int holdability, int autoGeneratedKeys, String[] columnNames, int[] columnIndexes, ClientPooledConnection cpc)`
Returns an instance of PreparedStatement (or PreparedStatement40) which implements java.sql.PreparedStatement It has the ClientPooledConnection as one of its parameters this is used to raise the Statement Events when the prepared statement is closed

`PreparedStatement`

ClientJDBCObjectFactory.`newPreparedStatement(Agent agent, Connection connection, String sql, Section section, ClientPooledConnection cpc)`
This method returns an instance of PreparedStatement (or PreparedStatement40) which implements java.sql.PreparedStatement It has the ClientPooledConnection as one of its parameters this is used to raise the Statement Events when the prepared statement is closed

`Statement` | ClientJDBCObjectFactory.`newStatement(Agent agent, Connection connection)` This method provides an instance of Statement or Statement40 depending on the jdk version under use
`Statement` | ClientJDBCObjectFactory.`newStatement(Agent agent, Connection connection, int type, int concurrency, int holdability, int autoGeneratedKeys, String[] columnNames, int[] columnIndexes)` This method provides an instance of Statement or Statement40 depending on the jdk version under use
`void` | Section.`recordSuccessAndclearExecutionSequence(Connection conn, int successSeq)`
`void` | Agent.`resetAgent(Connection connection, LogWriter logWriter, int loginTimeout, String server, int port)`
`void` | CallableStatement.`resetCallableStatement(Agent agent, Connection connection, String sql, int type, int concurrency, int holdability)`
`void` | CallableStatement.`resetCallableStatement(Agent agent, Connection connection, String sql, Section section)`
`void` | CallableStatement.`resetCallableStatement(Agent agent, Connection connection, String sql, Section section, ColumnMetaData parameterMetaData, ColumnMetaData resultSetMetaData)`
`void` | PreparedStatement.`resetPreparedStatement(Agent agent, Connection connection, String sql, int type, int concurrency, int holdability, int autoGeneratedKeys, String[] columnNames, int[] columnIndexes)`
`void` | PreparedStatement.`resetPreparedStatement(Agent agent, Connection connection, String sql, Section section)`
`void` | PreparedStatement.`resetPreparedStatement(Agent agent, Connection connection, String sql, Section section, ColumnMetaData parameterMetaData, ColumnMetaData resultSetMetaData)`
`void` | Sqlca.`resetRowsetSqlca(Connection connection, int sqlCode, String sqlState, byte[] sqlErrpBytes)`
`void` | Statement.`resetStatement(Agent agent, Connection connection)`
`void` | Statement.`resetStatement(Agent agent, Connection connection, int type, int concurrency, int holdability, int autoGeneratedKeys, String[] columnNames, int[] columnIndexes)`
`static void` | SingleHopPreparedStatement.`sleepForRetry(Connection connection_)`
`void` | LogWriter.`traceConnectExit(Connection connection)`
`void` | LogWriter.`traceConnectResetExit(Connection connection)`
`void` | LogWriter.`traceConnectsExit(Connection c)`
`void` | LogWriter.`traceConnectsResetExit(Connection c)`
`void` | LogWriter.`traceExit(Object instance, String methodName, Connection returnValue)`

Constructors in com.pivotal.gemfirexd.internal.client.am with parameters of type Connection
Constructor and Description
`Agent(Connection connection, LogWriter logWriter)`
`BlobLocatorInputStream(Connection connection, Blob blob)` Create an `InputStream` for reading the `Blob` value represented by the given locator based `Blob` object.
`BlobLocatorInputStream(Connection connection, Blob blob, long position, long length)` Create an `InputStream` for reading the `Blob` value represented by the given locator based `Blob` object.
`BlobLocatorOutputStream(Connection connection, Blob blob, long pos)` Create an `OutputStream` for writing to the `Blob` value represented by the given locator based `Blob` object.
`CachingLogicalConnection(Connection physicalConnection, ClientPooledConnection pooledConnection, JDBCStatementCache stmtCache)` Creates a new logical connection which caches prepared statements.
`CachingLogicalConnection40(Connection physicalConnection, ClientPooledConnection pooledConnection, JDBCStatementCache stmtCache)` Creates a new logical connection which caches prepared statements.
`CallableStatement(Agent agent, Connection connection, String sql, int type, int concurrency, int holdability, ClientPooledConnection cpc)` Common constructor for jdbc 2 callable statements with scroll attributes.
`CallableStatement40(Agent agent, Connection connection, String sql, int type, int concurrency, int holdability, ClientPooledConnection cpc)` Calls the superclass constructor and passes the parameters
`ClobLocatorInputStream(Connection connection, Clob clob)` Create an `InputStream` for reading the `Clob` value represented by the given locator based `Clob` object.
`ClobLocatorInputStream(Connection connection, Clob clob, long pos)` Create an `InputStream` for reading the `Clob` value represented by the given locator based `Clob` object.
`ClobLocatorOutputStream(Connection connection, Clob clob, long pos)` Create an `OutputStream` for writing to the `Clob` value represented by the given locator based `Clob` object.
`ClobLocatorReader(Connection connection, Clob clob)` Create an `Reader` for reading the `Clob` value represented by the given locator based `Clob` object.
`ClobLocatorReader(Connection connection, Clob clob, long pos, long len)` Create an `Reader` for reading the `Clob` value represented by the given locator based `Clob` object.
`ClobLocatorWriter(Connection connection, Clob clob, long pos)` Create a `Writer` for writing to the `Clob` value represented by the given locator based `Clob` object.
`DatabaseMetaData(Agent agent, Connection connection, ProductLevel productLevel)`
`LogicalConnection(Connection physicalConnection, ClientPooledConnection pooledConnection)`
`LogicalConnection40(Connection physicalConnection, ClientPooledConnection pooledConnection)`
`PreparedStatement(Agent agent, Connection connection, String sql, int type, int concurrency, int holdability, int autoGeneratedKeys, String[] columnNames, int[] columnIndexes, ClientPooledConnection cpc)` The PreparedStatementConstructor used for jdbc 2 prepared statements with scroll attributes.
`PreparedStatement(Agent agent, Connection connection, String sql, Section section, ClientPooledConnection cpc)` The PreparedStatement constructor used for JDBC 2 positioned update statements.
`PreparedStatement40(Agent agent, Connection connection, String sql, int type, int concurrency, int holdability, int autoGeneratedKeys, String[] columnNames, int[] columnIndexes, ClientPooledConnection cpc)` The PreparedStatementConstructor used for jdbc 4 prepared statements with scroll attributes.
`PreparedStatement40(Agent agent, Connection connection, String sql, Section section, ClientPooledConnection cpc)` The PreparedStatement used for JDBC 4 positioned update statements.
`SingleHopPreparedStatement(Agent agent, Connection connection, String sql, int type, int concurrency, int holdability, int autoGeneratedKeys, String[] columnNames, int[] columnIndexes, ClientPooledConnection cpc)`
`SingleHopPreparedStatement(Agent agent, Connection connection, String sql, Section section, ClientPooledConnection cpc)`
`Sqlca(Connection connection)`
`Statement(Agent agent, Connection connection)`
`Statement(Agent agent, Connection connection, int type, int concurrency, int holdability, int autoGeneratedKeys, String[] columnNames, int[] columnIndexes)`
`Statement40(Agent agent, Connection connection)` Calls the super class constructor to pass the parameters
`Statement40(Agent agent, Connection connection, int type, int concurrency, int holdability, int autoGeneratedKeys, String[] columnNames, int[] columnIndexes)` Calls the superclass constructor to pass the arguments
`UpdateSensitiveBlobLocatorInputStream(Connection con, Blob blob)` Creates an instance of the BlobLocatorInputStream and and calls the super class constructors with appropriate initializers.
`UpdateSensitiveBlobLocatorInputStream(Connection con, Blob blob, long position, long length)` Creates an instance of the BlobLocatorInputStream.
`UpdateSensitiveClobLocatorInputStream(Connection con, Clob clob)` Creates an instance of the ClobLocatorInputStream wrapped in a BufferedInputStream and and calls the super class constructor with appropriate initializers.
`UpdateSensitiveClobLocatorReader(Connection con, Clob clob)` Initializes the Reader, updateCount, currentPos and the connection to the appropriate values.
`UpdateSensitiveClobLocatorReader(Connection con, Clob clob, long pos, long len)` Initializes the Reader, updateCount, currentPos, length and the connection to the appropriate values.
`UpdateSensitiveLOBLocatorInputStream(Connection con, Lob lob, InputStream is)` Initializes the InputStream, updateCount, currentPos and the connection to the appropriate values.
`UpdateSensitiveLOBLocatorInputStream(Connection con, Lob lob, InputStream is, long pos, long len)` Initializes the InputStream, updateCount, currentPos, length and the connection to the appropriate values.

### Uses of Connection in com.pivotal.gemfirexd.internal.client.net

Subclasses of Connection in com.pivotal.gemfirexd.internal.client.net
Modifier and Type | Class and Description
--- | ---
`class` | `NetConnection`
`class` | `NetConnection40`

Methods in com.pivotal.gemfirexd.internal.client.net that return Connection
Modifier and Type | Method and Description
--- | ---
`Connection` | ClientJDBCObjectFactoryImpl40.`newNetConnection(LogWriter netLogWriter, ClientBaseDataSource clientDataSource, String user, String password)` returns an instance of com.pivotal.gemfirexd.internal.client.net.NetConnection40
`Connection` | ClientJDBCObjectFactoryImpl40.`newNetConnection(LogWriter netLogWriter, int driverManagerLoginTimeout, String serverName, int portNumber, String databaseName, Properties properties)` returns an instance of com.pivotal.gemfirexd.internal.client.net.NetConnection40
`Connection` | ClientJDBCObjectFactoryImpl40.`newNetConnection(LogWriter netLogWriter, String ipaddr, int portNumber, ClientBaseDataSource dataSource, boolean isXAConn)` returns an instance of com.pivotal.gemfirexd.internal.client.net.NetConnection40
`Connection` | ClientJDBCObjectFactoryImpl40.`newNetConnection(LogWriter netLogWriter, String databaseName, Properties properties)` returns an instance of com.pivotal.gemfirexd.internal.client.net.NetConnection40
`Connection` | ClientJDBCObjectFactoryImpl40.`newNetConnection(LogWriter netLogWriter, String user, String password, ClientBaseDataSource dataSource, int rmId, boolean isXAConn)` returns an instance of com.pivotal.gemfirexd.internal.client.net.NetConnection40
`Connection` | ClientJDBCObjectFactoryImpl40.`newNetConnection(LogWriter netLogWriter, String user, String password, ClientBaseDataSource dataSource, int rmId, boolean isXAConn, ClientPooledConnection cpc)` Returns an instance of com.pivotal.gemfirexd.internal.client.net.NetConnection.

Methods in com.pivotal.gemfirexd.internal.client.net with parameters of type Connection
Modifier and Type | Method and Description
--- | ---
`NetConnection` | NetConnection.DSConnectionInfo.`getConnectionForThisServerURLFromBQ(String host, String port, Connection conn)`
`LogicalConnection` | ClientJDBCObjectFactoryImpl40.`newCachingLogicalConnection(Connection physicalConnection, ClientPooledConnection pooledConnection, JDBCStatementCache stmtCache)` Returns an instance of a `CachingLogicalConnection`, which provides caching of prepared statements.
`CallableStatement` | ClientJDBCObjectFactoryImpl40.`newCallableStatement(Agent agent, Connection connection, String sql, int type, int concurrency, int holdability, ClientPooledConnection cpc)` Returns an instance of com.pivotal.gemfirexd.internal.client.am.CallableStatement.
`LogicalConnection` | ClientJDBCObjectFactoryImpl40.`newLogicalConnection(Connection physicalConnection, ClientPooledConnection pooledConnection)` Returns an instance of LogicalConnection.
`DatabaseMetaData` | ClientJDBCObjectFactoryImpl40.`newNetDatabaseMetaData(Agent netAgent, Connection netConnection)` returns an instance of com.pivotal.gemfirexd.internal.client.net.NetDatabaseMetaData
`PreparedStatement` | ClientJDBCObjectFactoryImpl40.`newPreparedStatement(Agent agent, Connection connection, String sql, int type, int concurrency, int holdability, int autoGeneratedKeys, String[] columnNames, int[] columnIndexes, ClientPooledConnection cpc)` This method returns an instance of PreparedStatement which implements java.sql.PreparedStatement.
`PreparedStatement` | ClientJDBCObjectFactoryImpl40.`newPreparedStatement(Agent agent, Connection connection, String sql, Section section, ClientPooledConnection cpc)` Returns an instance of com.pivotal.gemfirexd.internal.client.am.CallableStatement40
`Statement` | ClientJDBCObjectFactoryImpl40.`newStatement(Agent agent, Connection connection)` This method provides an instance of Statement40
`Statement` | ClientJDBCObjectFactoryImpl40.`newStatement(Agent agent, Connection connection, int type, int concurrency, int holdability, int autoGeneratedKeys, String[] columnNames, int[] columnIndexes)` This method provides an instance of Statement40
`protected void` | NetConnectionReply.`parseInitialPBSD(Connection connection)` Parse the initial PBSD - PiggyBackedSessionData code point.
`void` | NetConnection.`setBaseConnection(Connection conn)`
`void` | NetLogWriter.`traceConnectsExit(Connection connection)`
`void` | NetLogWriter.`traceConnectsResetExit(Connection connection)`

### Uses of Connection in com.pivotal.gemfirexd.internal.jdbc

Methods in com.pivotal.gemfirexd.internal.jdbc with parameters of type Connection
Modifier and Type | Method and Description
--- | ---
`static LogWriter` | ClientBaseDataSource.`computeDncLogWriter(Connection connection, PrintWriter logWriter, String traceDirectory, String traceFile, boolean traceFileAppend, String logWriterInUseSuffix, int traceFileSuffixIndex, int traceLevel)`