Package org.apache.derby.client.net
Class NetStatement
- java.lang.Object
-
- org.apache.derby.client.net.NetStatement
-
- All Implemented Interfaces:
MaterialStatement
- Direct Known Subclasses:
NetPreparedStatement
class NetStatement extends java.lang.Object implements MaterialStatement
-
-
Field Summary
Fields Modifier and Type Field Description (package private) NetAgentnetAgent_(package private) NetConnectionnetConnection_(package private) booleanqryrowsetSentOnOpnqry_(package private) ClientStatementstatement_
-
Constructor Summary
Constructors Modifier Constructor Description privateNetStatement()(package private)NetStatement(ClientStatement statement, NetAgent netAgent, NetConnection netConnection)(package private)NetStatement(NetAgent netAgent, NetConnection netConnection, int type, int concurrency, int holdability)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidinitNetStatement()private voidinitNetStatement(ClientStatement statement, NetAgent netAgent, NetConnection netConnection)voidmarkClosedOnServer_()voidreadExecuteCall_()voidreadExecuteImmediate_()voidreadExecuteImmediateForBatch_(java.lang.String sql)voidreadOpenQuery_()voidreadPrepare_()voidreadPrepareDescribeOutput_()voidreadSetSpecialRegister_()voidreset_()private voidresetNetStatement()(package private) voidresetNetStatement(ClientStatement statement, NetAgent netAgent, NetConnection netConnection)(package private) voidresetNetStatement(NetAgent netAgent, NetConnection netConnection, int type, int concurrency, int holdability)voidwriteExecuteCall_(boolean outputExpected, java.lang.String procedureName, Section section, int fetchSize, boolean suppressResultSets, int resultSetType, ColumnMetaData parameterMetaData, java.lang.Object[] inputs)voidwriteExecuteImmediate_(java.lang.String sql, Section section)voidwriteOpenQuery_(Section section, int fetchSize, int resultSetType)voidwritePrepare_(java.lang.String sql, Section section)voidwritePrepareDescribeOutput_(java.lang.String sql, Section section)voidwriteSetSpecialRegister_(Section section, java.util.ArrayList sqlsttList)
-
-
-
Field Detail
-
statement_
ClientStatement statement_
-
netConnection_
NetConnection netConnection_
-
netAgent_
NetAgent netAgent_
-
qryrowsetSentOnOpnqry_
boolean qryrowsetSentOnOpnqry_
-
-
Constructor Detail
-
NetStatement
private NetStatement()
-
NetStatement
NetStatement(ClientStatement statement, NetAgent netAgent, NetConnection netConnection)
-
NetStatement
NetStatement(NetAgent netAgent, NetConnection netConnection, int type, int concurrency, int holdability) throws SqlException
- Throws:
SqlException
-
-
Method Detail
-
resetNetStatement
private void resetNetStatement()
-
initNetStatement
private void initNetStatement()
-
resetNetStatement
void resetNetStatement(ClientStatement statement, NetAgent netAgent, NetConnection netConnection)
-
initNetStatement
private void initNetStatement(ClientStatement statement, NetAgent netAgent, NetConnection netConnection)
-
reset_
public void reset_()
- Specified by:
reset_in interfaceMaterialStatement
-
resetNetStatement
void resetNetStatement(NetAgent netAgent, NetConnection netConnection, int type, int concurrency, int holdability) throws SqlException
- Throws:
SqlException
-
writeSetSpecialRegister_
public void writeSetSpecialRegister_(Section section, java.util.ArrayList sqlsttList) throws SqlException
- Specified by:
writeSetSpecialRegister_in interfaceMaterialStatement- Throws:
SqlException
-
readSetSpecialRegister_
public void readSetSpecialRegister_() throws SqlException- Specified by:
readSetSpecialRegister_in interfaceMaterialStatement- Throws:
SqlException
-
writeExecuteImmediate_
public void writeExecuteImmediate_(java.lang.String sql, Section section) throws SqlException- Specified by:
writeExecuteImmediate_in interfaceMaterialStatement- Throws:
SqlException
-
readExecuteImmediate_
public void readExecuteImmediate_() throws SqlException- Specified by:
readExecuteImmediate_in interfaceMaterialStatement- Throws:
SqlException
-
readExecuteImmediateForBatch_
public void readExecuteImmediateForBatch_(java.lang.String sql) throws SqlException- Specified by:
readExecuteImmediateForBatch_in interfaceMaterialStatement- Throws:
SqlException
-
writePrepareDescribeOutput_
public void writePrepareDescribeOutput_(java.lang.String sql, Section section) throws SqlException- Specified by:
writePrepareDescribeOutput_in interfaceMaterialStatement- Throws:
SqlException
-
readPrepareDescribeOutput_
public void readPrepareDescribeOutput_() throws SqlException- Specified by:
readPrepareDescribeOutput_in interfaceMaterialStatement- Throws:
SqlException
-
writeOpenQuery_
public void writeOpenQuery_(Section section, int fetchSize, int resultSetType) throws SqlException
- Specified by:
writeOpenQuery_in interfaceMaterialStatement- Throws:
SqlException
-
readOpenQuery_
public void readOpenQuery_() throws SqlException- Specified by:
readOpenQuery_in interfaceMaterialStatement- Throws:
SqlException
-
writeExecuteCall_
public void writeExecuteCall_(boolean outputExpected, java.lang.String procedureName, Section section, int fetchSize, boolean suppressResultSets, int resultSetType, ColumnMetaData parameterMetaData, java.lang.Object[] inputs) throws SqlException- Specified by:
writeExecuteCall_in interfaceMaterialStatement- Throws:
SqlException
-
readExecuteCall_
public void readExecuteCall_() throws SqlException- Specified by:
readExecuteCall_in interfaceMaterialStatement- Throws:
SqlException
-
writePrepare_
public void writePrepare_(java.lang.String sql, Section section) throws SqlException- Specified by:
writePrepare_in interfaceMaterialStatement- Throws:
SqlException
-
readPrepare_
public void readPrepare_() throws SqlException- Specified by:
readPrepare_in interfaceMaterialStatement- Throws:
SqlException
-
markClosedOnServer_
public void markClosedOnServer_()
-
-