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
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) NetAgent
(package private) NetConnection
(package private) boolean
(package private) ClientStatement
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
(package private)
NetStatement
(ClientStatement statement, NetAgent netAgent, NetConnection netConnection) (package private)
NetStatement
(NetAgent netAgent, NetConnection netConnection, int type, int concurrency, int holdability) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
private void
initNetStatement
(ClientStatement statement, NetAgent netAgent, NetConnection netConnection) void
void
void
void
void
void
void
void
void
reset_()
private void
(package private) void
resetNetStatement
(ClientStatement statement, NetAgent netAgent, NetConnection netConnection) (package private) void
resetNetStatement
(NetAgent netAgent, NetConnection netConnection, int type, int concurrency, int holdability) void
writeExecuteCall_
(boolean outputExpected, String procedureName, Section section, int fetchSize, boolean suppressResultSets, int resultSetType, ColumnMetaData parameterMetaData, Object[] inputs) void
writeExecuteImmediate_
(String sql, Section section) void
writeOpenQuery_
(Section section, int fetchSize, int resultSetType) void
writePrepare_
(String sql, Section section) void
writePrepareDescribeOutput_
(String sql, Section section) void
writeSetSpecialRegister_
(Section section, ArrayList sqlsttList)
-
Field Details
-
statement_
ClientStatement statement_ -
netConnection_
NetConnection netConnection_ -
netAgent_
NetAgent netAgent_ -
qryrowsetSentOnOpnqry_
boolean qryrowsetSentOnOpnqry_
-
-
Constructor Details
-
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 Details
-
resetNetStatement
private void resetNetStatement() -
initNetStatement
private void initNetStatement() -
resetNetStatement
-
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_
- Specified by:
writeSetSpecialRegister_
in interfaceMaterialStatement
- Throws:
SqlException
-
readSetSpecialRegister_
- Specified by:
readSetSpecialRegister_
in interfaceMaterialStatement
- Throws:
SqlException
-
writeExecuteImmediate_
- Specified by:
writeExecuteImmediate_
in interfaceMaterialStatement
- Throws:
SqlException
-
readExecuteImmediate_
- Specified by:
readExecuteImmediate_
in interfaceMaterialStatement
- Throws:
SqlException
-
readExecuteImmediateForBatch_
- Specified by:
readExecuteImmediateForBatch_
in interfaceMaterialStatement
- Throws:
SqlException
-
writePrepareDescribeOutput_
- Specified by:
writePrepareDescribeOutput_
in interfaceMaterialStatement
- Throws:
SqlException
-
readPrepareDescribeOutput_
- Specified by:
readPrepareDescribeOutput_
in interfaceMaterialStatement
- Throws:
SqlException
-
writeOpenQuery_
- Specified by:
writeOpenQuery_
in interfaceMaterialStatement
- Throws:
SqlException
-
readOpenQuery_
- Specified by:
readOpenQuery_
in interfaceMaterialStatement
- Throws:
SqlException
-
writeExecuteCall_
public void writeExecuteCall_(boolean outputExpected, String procedureName, Section section, int fetchSize, boolean suppressResultSets, int resultSetType, ColumnMetaData parameterMetaData, Object[] inputs) throws SqlException - Specified by:
writeExecuteCall_
in interfaceMaterialStatement
- Throws:
SqlException
-
readExecuteCall_
- Specified by:
readExecuteCall_
in interfaceMaterialStatement
- Throws:
SqlException
-
writePrepare_
- Specified by:
writePrepare_
in interfaceMaterialStatement
- Throws:
SqlException
-
readPrepare_
- Specified by:
readPrepare_
in interfaceMaterialStatement
- Throws:
SqlException
-
markClosedOnServer_
public void markClosedOnServer_()
-