java.lang.Object
org.apache.derby.client.net.NetStatement
- All Implemented Interfaces:
- org.apache.derby.client.am.MaterialStatement
- Direct Known Subclasses:
- NetPreparedStatement
- public class NetStatement
- extends java.lang.Object
- implements org.apache.derby.client.am.MaterialStatement
|
Method Summary |
protected void |
finalize()
Called on an object by the Virtual Machine at most once,
at some point after the Object is determined unreachable
but before it is destroyed. |
private void |
initNetStatement()
|
private void |
initNetStatement(org.apache.derby.client.am.Statement statement,
NetAgent netAgent,
NetConnection netConnection)
|
void |
markClosedOnServer_()
|
(package private) void |
netReset(NetAgent netAgent,
NetConnection netConnection)
|
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(NetAgent netAgent,
NetConnection netConnection,
int type,
int concurrency,
int holdability)
|
(package private) void |
resetNetStatement(org.apache.derby.client.am.Statement statement,
NetAgent netAgent,
NetConnection netConnection)
|
void |
writeExecuteCall_(boolean outputExpected,
java.lang.String procedureName,
org.apache.derby.client.am.Section section,
int fetchSize,
boolean suppressResultSets,
int resultSetType,
org.apache.derby.client.am.ColumnMetaData parameterMetaData,
java.lang.Object[] inputs)
|
void |
writeExecuteImmediate_(java.lang.String sql,
org.apache.derby.client.am.Section section)
|
void |
writeOpenQuery_(org.apache.derby.client.am.Section section,
int fetchSize,
int resultSetType)
|
void |
writePrepare_(java.lang.String sql,
org.apache.derby.client.am.Section section)
|
void |
writePrepareDescribeOutput_(java.lang.String sql,
org.apache.derby.client.am.Section section)
|
void |
writeSetSpecialRegister_(java.util.ArrayList sqlsttList)
|
statement_
org.apache.derby.client.am.Statement statement_
netConnection_
NetConnection netConnection_
netAgent_
NetAgent netAgent_
qryrowsetSentOnOpnqry_
public boolean qryrowsetSentOnOpnqry_
NetStatement
private NetStatement()
NetStatement
NetStatement(org.apache.derby.client.am.Statement statement,
NetAgent netAgent,
NetConnection netConnection)
NetStatement
NetStatement(NetAgent netAgent,
NetConnection netConnection)
throws org.apache.derby.client.am.SqlException
NetStatement
NetStatement(NetAgent netAgent,
NetConnection netConnection,
int type,
int concurrency,
int holdability)
throws org.apache.derby.client.am.SqlException
resetNetStatement
private void resetNetStatement()
initNetStatement
private void initNetStatement()
resetNetStatement
void resetNetStatement(org.apache.derby.client.am.Statement statement,
NetAgent netAgent,
NetConnection netConnection)
initNetStatement
private void initNetStatement(org.apache.derby.client.am.Statement statement,
NetAgent netAgent,
NetConnection netConnection)
netReset
void netReset(NetAgent netAgent,
NetConnection netConnection)
throws org.apache.derby.client.am.SqlException
reset_
public void reset_()
- Specified by:
reset_ in interface org.apache.derby.client.am.MaterialStatement
resetNetStatement
void resetNetStatement(NetAgent netAgent,
NetConnection netConnection,
int type,
int concurrency,
int holdability)
throws org.apache.derby.client.am.SqlException
finalize
protected void finalize()
throws java.lang.Throwable
- Description copied from class:
java.lang.Object
- Called on an object by the Virtual Machine at most once,
at some point after the Object is determined unreachable
but before it is destroyed. You would think that this
means it eventually is called on every Object, but this is
not necessarily the case. If execution terminates
abnormally, garbage collection does not always happen.
Thus you cannot rely on this method to always work.
For finer control over garbage collection, use references
from the
java.lang.ref package.
Virtual Machines are free to not call this method if
they can determine that it does nothing important; for
example, if your class extends Object and overrides
finalize to do simply super.finalize().
finalize() will be called by a java.lang.Thread that has no
locks on any Objects, and may be called concurrently.
There are no guarantees on the order in which multiple
objects are finalized. This means that finalize() is
usually unsuited for performing actions that must be
thread-safe, and that your implementation must be
use defensive programming if it is to always work.
If an Exception is thrown from finalize() during garbage
collection, it will be patently ignored and the Object will
still be destroyed.
It is allowed, although not typical, for user code to call
finalize() directly. User invocation does not affect whether
automatic invocation will occur. It is also permitted,
although not recommended, for a finalize() method to "revive"
an object by making it reachable from normal code again.
Unlike constructors, finalize() does not get called
for an object's superclass unless the implementation
specifically calls super.finalize().
The default implementation does nothing.
writeSetSpecialRegister_
public void writeSetSpecialRegister_(java.util.ArrayList sqlsttList)
throws org.apache.derby.client.am.SqlException
- Specified by:
writeSetSpecialRegister_ in interface org.apache.derby.client.am.MaterialStatement
readSetSpecialRegister_
public void readSetSpecialRegister_()
throws org.apache.derby.client.am.SqlException
- Specified by:
readSetSpecialRegister_ in interface org.apache.derby.client.am.MaterialStatement
writeExecuteImmediate_
public void writeExecuteImmediate_(java.lang.String sql,
org.apache.derby.client.am.Section section)
throws org.apache.derby.client.am.SqlException
- Specified by:
writeExecuteImmediate_ in interface org.apache.derby.client.am.MaterialStatement
readExecuteImmediate_
public void readExecuteImmediate_()
throws org.apache.derby.client.am.SqlException
- Specified by:
readExecuteImmediate_ in interface org.apache.derby.client.am.MaterialStatement
readExecuteImmediateForBatch_
public void readExecuteImmediateForBatch_(java.lang.String sql)
throws org.apache.derby.client.am.SqlException
- Specified by:
readExecuteImmediateForBatch_ in interface org.apache.derby.client.am.MaterialStatement
writePrepareDescribeOutput_
public void writePrepareDescribeOutput_(java.lang.String sql,
org.apache.derby.client.am.Section section)
throws org.apache.derby.client.am.SqlException
- Specified by:
writePrepareDescribeOutput_ in interface org.apache.derby.client.am.MaterialStatement
readPrepareDescribeOutput_
public void readPrepareDescribeOutput_()
throws org.apache.derby.client.am.SqlException
- Specified by:
readPrepareDescribeOutput_ in interface org.apache.derby.client.am.MaterialStatement
writeOpenQuery_
public void writeOpenQuery_(org.apache.derby.client.am.Section section,
int fetchSize,
int resultSetType)
throws org.apache.derby.client.am.SqlException
- Specified by:
writeOpenQuery_ in interface org.apache.derby.client.am.MaterialStatement
readOpenQuery_
public void readOpenQuery_()
throws org.apache.derby.client.am.SqlException
- Specified by:
readOpenQuery_ in interface org.apache.derby.client.am.MaterialStatement
writeExecuteCall_
public void writeExecuteCall_(boolean outputExpected,
java.lang.String procedureName,
org.apache.derby.client.am.Section section,
int fetchSize,
boolean suppressResultSets,
int resultSetType,
org.apache.derby.client.am.ColumnMetaData parameterMetaData,
java.lang.Object[] inputs)
throws org.apache.derby.client.am.SqlException
- Specified by:
writeExecuteCall_ in interface org.apache.derby.client.am.MaterialStatement
readExecuteCall_
public void readExecuteCall_()
throws org.apache.derby.client.am.SqlException
- Specified by:
readExecuteCall_ in interface org.apache.derby.client.am.MaterialStatement
writePrepare_
public void writePrepare_(java.lang.String sql,
org.apache.derby.client.am.Section section)
throws org.apache.derby.client.am.SqlException
- Specified by:
writePrepare_ in interface org.apache.derby.client.am.MaterialStatement
readPrepare_
public void readPrepare_()
throws org.apache.derby.client.am.SqlException
- Specified by:
readPrepare_ in interface org.apache.derby.client.am.MaterialStatement
markClosedOnServer_
public void markClosedOnServer_()
- Specified by:
markClosedOnServer_ in interface org.apache.derby.client.am.MaterialStatement