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

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

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

Subclasses of PreparedStatement in com.pivotal.gemfirexd.internal.client.am
Modifier and Type | Class and Description
--- | ---
`class` | `CallableStatement`
`class` | `CallableStatement40`
`class` | `PreparedStatement40`
`class` | `SingleHopPreparedStatement` This prepared statement will be returned to the user in case single hop is enabled on the connection and the query qualifies for the single hop.

Fields in com.pivotal.gemfirexd.internal.client.am declared as PreparedStatement
Modifier and Type | Field and Description
--- | ---
`PreparedStatement` | Statement.`preparedStatementForAutoGeneratedKeys_`

Methods in com.pivotal.gemfirexd.internal.client.am that return PreparedStatement
Modifier and Type | Method and Description
--- | ---
`protected abstract PreparedStatement` | Connection.`newPositionedUpdatePreparedStatement_(String sql, Section section)`
`protected abstract PreparedStatement` | Connection.`newPreparedStatement_(String sql, int type, int concurrency, int holdability, int autoGeneratedKeys, String[] columnNames, int[] columnIndexes)`

`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

`PreparedStatement` | LogicalConnection.`preparePositionedUpdateStatement(String sql, Section querySection)`
`PreparedStatement` | Connection.`preparePositionedUpdateStatement(String sql, Section querySection)`

Methods in com.pivotal.gemfirexd.internal.client.am with parameters of type PreparedStatement
Modifier and Type | Method and Description
--- | ---
`ResultSet` | ClientJDBCObjectFactory.`getSingleHopResultSet(NetResultSet nrs0, PreparedStatement[] psarray, NetConnection.DSConnectionInfo dsConnInfo)`
`protected abstract void` | Connection.`resetPreparedStatement_(PreparedStatement ps, String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability, int autoGeneratedKeys, String[] columnNames, int[] columnIndexes)`
`protected void` | Connection.`resetPrepareStatement(PreparedStatement ps)`
`void` | Section.`setCopiedSection(boolean flag, PreparedStatement parentPstmnt)`
`void` | LogWriter.`traceExit(Object instance, String methodName, PreparedStatement returnValue)`

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

Methods in com.pivotal.gemfirexd.internal.client.net that return PreparedStatement
Modifier and Type | Method and Description
--- | ---
`PreparedStatement[]` | SingleHopResultSet.`getPreparedStatements()`
`protected PreparedStatement` | NetConnection.`newPositionedUpdatePreparedStatement_(String sql, Section section)`
`protected PreparedStatement` | NetConnection.`newPreparedStatement_(String sql, int type, int concurrency, int holdability, int autoGeneratedKeys, String[] columnNames, int[] columnIndexes)`
`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

Methods in com.pivotal.gemfirexd.internal.client.net with parameters of type PreparedStatement
Modifier and Type | Method and Description
--- | ---
`ResultSet` | ClientJDBCObjectFactoryImpl40.`getSingleHopResultSet(NetResultSet nrs0, PreparedStatement[] psarray, NetConnection.DSConnectionInfo dsConnInfo)`
`protected void` | NetConnection.`resetPreparedStatement_(PreparedStatement ps, String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability, int autoGeneratedKeys, String[] columnNames, int[] columnIndexes)`

Constructors in com.pivotal.gemfirexd.internal.client.net with parameters of type PreparedStatement
Constructor and Description
`SingleHopResultSet(ResultSet nrs0, PreparedStatement[] psarray, NetConnection.DSConnectionInfo dsConnInfo)`
`SingleHopResultSet40(ResultSet nrs0, PreparedStatement[] psarray, NetConnection.DSConnectionInfo dsConnInfo)`