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) NetAgent
netAgent_
(package private) NetConnection
netConnection_
(package private) boolean
qryrowsetSentOnOpnqry_
(package private) ClientStatement
statement_
-
Constructor Summary
Constructors Modifier Constructor Description private
NetStatement()
(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 void
initNetStatement()
private void
initNetStatement(ClientStatement statement, NetAgent netAgent, NetConnection netConnection)
void
markClosedOnServer_()
void
readExecuteCall_()
void
readExecuteImmediate_()
void
readExecuteImmediateForBatch_(java.lang.String sql)
void
readOpenQuery_()
void
readPrepare_()
void
readPrepareDescribeOutput_()
void
readSetSpecialRegister_()
void
reset_()
private void
resetNetStatement()
(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, java.lang.String procedureName, Section section, int fetchSize, boolean suppressResultSets, int resultSetType, ColumnMetaData parameterMetaData, java.lang.Object[] inputs)
void
writeExecuteImmediate_(java.lang.String sql, Section section)
void
writeOpenQuery_(Section section, int fetchSize, int resultSetType)
void
writePrepare_(java.lang.String sql, Section section)
void
writePrepareDescribeOutput_(java.lang.String sql, Section section)
void
writeSetSpecialRegister_(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_()
-
-