MaterialPreparedStatement, MaterialStatementNetCallableStatementclass NetPreparedStatement extends NetStatement implements MaterialPreparedStatement
| Modifier and Type | Field | Description |
|---|---|---|
(package private) ClientPreparedStatement |
preparedStatement_ |
netAgent_, netConnection_, qryrowsetSentOnOpnqry_, statement_| Constructor | Description |
|---|---|
NetPreparedStatement(ClientPreparedStatement statement,
NetAgent netAgent,
NetConnection netConnection) |
|
NetPreparedStatement(NetAgent netAgent,
NetConnection netConnection,
java.lang.String sql,
int type,
int concurrency,
int holdability,
int autoGeneratedKeys,
java.lang.String[] columnNames,
int[] columnIndexes,
ClientPooledConnection cpc) |
The constructor for the NetPreparedStatement class.
|
NetPreparedStatement(NetAgent netAgent,
NetConnection netConnection,
java.lang.String sql,
Section section,
ClientPooledConnection cpc) |
The constructor for the NetPreparedStatement class.
|
| Modifier and Type | Method | Description |
|---|---|---|
private void |
initNetPreparedStatement(ClientPreparedStatement statement) |
|
void |
readDescribeInput_() |
|
void |
readExecute_() |
|
(package private) void |
resetNetPreparedStatement(ClientPreparedStatement statement,
NetAgent netAgent,
NetConnection netConnection) |
|
(package private) void |
resetNetPreparedStatement(NetAgent netAgent,
NetConnection netConnection,
java.lang.String sql,
int type,
int concurrency,
int holdability,
int autoGeneratedKeys,
java.lang.String[] columnNames,
int[] columnIndexes) |
|
void |
writeDescribeInput_(Section section) |
|
void |
writeExecute_(Section section,
ColumnMetaData parameterMetaData,
java.lang.Object[] inputs,
int numInputColumns,
boolean outputExpected,
boolean chainedWritesFollowingSetLob) |
|
void |
writeOpenQuery_(Section section,
int fetchSize,
int resultSetType,
int numInputColumns,
ColumnMetaData parameterMetaData,
java.lang.Object[] inputs) |
readExecuteCall_, readExecuteImmediate_, readExecuteImmediateForBatch_, readOpenQuery_, readPrepare_, readPrepareDescribeOutput_, readSetSpecialRegister_, reset_, writeExecuteCall_, writeExecuteImmediate_, writeOpenQuery_, writePrepare_, writePrepareDescribeOutput_, writeSetSpecialRegister_markClosedOnServer_, readExecuteCall_, readExecuteImmediate_, readExecuteImmediateForBatch_, readOpenQuery_, readPrepare_, readPrepareDescribeOutput_, readSetSpecialRegister_, reset_, resetNetStatement, resetNetStatement, writeExecuteCall_, writeExecuteImmediate_, writeOpenQuery_, writePrepare_, writePrepareDescribeOutput_, writeSetSpecialRegister_ClientPreparedStatement preparedStatement_
NetPreparedStatement(ClientPreparedStatement statement, NetAgent netAgent, NetConnection netConnection)
NetPreparedStatement(NetAgent netAgent, NetConnection netConnection, java.lang.String sql, int type, int concurrency, int holdability, int autoGeneratedKeys, java.lang.String[] columnNames, int[] columnIndexes, ClientPooledConnection cpc) throws SqlException
netAgent - The instance of NetAgent associated with this
CallableStatement object.netConnection - The connection object associated with this
PreparedStatement Object.sql - A String object that is the SQL statement
to be sent to the database.type - One of the ResultSet type constants.concurrency - One of the ResultSet concurrency constants.holdability - One of the ResultSet holdability constants.autoGeneratedKeys - a flag indicating whether auto-generated
keys should be returned.columnNames - A String array of column names indicating
the columns that should be returned
from the inserted row or rows.columnIndexes - An int array of column indexes indicating
the column that should be returned from
the inserted row.cpc - The ClientPooledConnection wraps the underlying physical
connection associated with this prepared statement
it is used to pass the Statement closed and the Statement
error occurred events that occur back to the
ClientPooledConnection.SqlExceptionNetPreparedStatement(NetAgent netAgent, NetConnection netConnection, java.lang.String sql, Section section, ClientPooledConnection cpc) throws SqlException
netAgent - The instance of NetAgent associated with this
CallableStatement object.netConnection - The connection object associated with this
PreparedStatement Object.sql - A String object that is the SQL statement to be
sent to the database.section - cpc - The ClientPooledConnection wraps the underlying physical
connection associated with this prepared statement
it is used to pass the Statement closed and the Statement
error occurred events that occur back to the
ClientPooledConnectionSqlExceptionvoid resetNetPreparedStatement(ClientPreparedStatement statement, NetAgent netAgent, NetConnection netConnection)
private void initNetPreparedStatement(ClientPreparedStatement statement)
void resetNetPreparedStatement(NetAgent netAgent, NetConnection netConnection, java.lang.String sql, int type, int concurrency, int holdability, int autoGeneratedKeys, java.lang.String[] columnNames, int[] columnIndexes) throws SqlException
SqlExceptionpublic void writeExecute_(Section section, ColumnMetaData parameterMetaData, java.lang.Object[] inputs, int numInputColumns, boolean outputExpected, boolean chainedWritesFollowingSetLob) throws SqlException
writeExecute_ in interface MaterialPreparedStatementSqlExceptionpublic void readExecute_()
throws SqlException
readExecute_ in interface MaterialPreparedStatementSqlExceptionpublic void writeOpenQuery_(Section section, int fetchSize, int resultSetType, int numInputColumns, ColumnMetaData parameterMetaData, java.lang.Object[] inputs) throws SqlException
writeOpenQuery_ in interface MaterialPreparedStatementSqlExceptionpublic void writeDescribeInput_(Section section) throws SqlException
writeDescribeInput_ in interface MaterialPreparedStatementSqlExceptionpublic void readDescribeInput_()
throws SqlException
readDescribeInput_ in interface MaterialPreparedStatementSqlExceptionApache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.