org.apache.derby.client.net
Class NetStatement

java.lang.Object
  extended by org.apache.derby.client.net.NetStatement
All Implemented Interfaces:
MaterialStatement
Direct Known Subclasses:
NetPreparedStatement

public class NetStatement
extends java.lang.Object
implements MaterialStatement


Field Summary
(package private)  NetAgent netAgent_
           
(package private)  NetConnection netConnection_
           
 boolean qryrowsetSentOnOpnqry_
           
(package private)  Statement statement_
           
 
Constructor Summary
private NetStatement()
           
(package private) NetStatement(NetAgent netAgent, NetConnection netConnection)
           
(package private) NetStatement(NetAgent netAgent, NetConnection netConnection, int type, int concurrency, int holdability)
           
(package private) NetStatement(Statement statement, NetAgent netAgent, NetConnection netConnection)
           
 
Method Summary
protected  void finalize()
           
private  void initNetStatement()
           
private  void initNetStatement(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(Statement statement, NetAgent netAgent, NetConnection netConnection)
           
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

statement_

Statement statement_

netConnection_

NetConnection netConnection_

netAgent_

NetAgent netAgent_

qryrowsetSentOnOpnqry_

public boolean qryrowsetSentOnOpnqry_
Constructor Detail

NetStatement

private NetStatement()

NetStatement

NetStatement(Statement statement,
             NetAgent netAgent,
             NetConnection netConnection)

NetStatement

NetStatement(NetAgent netAgent,
             NetConnection netConnection)
       throws SqlException
Throws:
SqlException

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(Statement statement,
                       NetAgent netAgent,
                       NetConnection netConnection)

initNetStatement

private void initNetStatement(Statement statement,
                              NetAgent netAgent,
                              NetConnection netConnection)

netReset

void netReset(NetAgent netAgent,
              NetConnection netConnection)
        throws SqlException
Throws:
SqlException

reset_

public void reset_()
Specified by:
reset_ in interface MaterialStatement

resetNetStatement

void resetNetStatement(NetAgent netAgent,
                       NetConnection netConnection,
                       int type,
                       int concurrency,
                       int holdability)
                 throws SqlException
Throws:
SqlException

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object
Throws:
java.lang.Throwable

writeSetSpecialRegister_

public void writeSetSpecialRegister_(Section section,
                                     java.util.ArrayList sqlsttList)
                              throws SqlException
Specified by:
writeSetSpecialRegister_ in interface MaterialStatement
Throws:
SqlException

readSetSpecialRegister_

public void readSetSpecialRegister_()
                             throws SqlException
Specified by:
readSetSpecialRegister_ in interface MaterialStatement
Throws:
SqlException

writeExecuteImmediate_

public void writeExecuteImmediate_(java.lang.String sql,
                                   Section section)
                            throws SqlException
Specified by:
writeExecuteImmediate_ in interface MaterialStatement
Throws:
SqlException

readExecuteImmediate_

public void readExecuteImmediate_()
                           throws SqlException
Specified by:
readExecuteImmediate_ in interface MaterialStatement
Throws:
SqlException

readExecuteImmediateForBatch_

public void readExecuteImmediateForBatch_(java.lang.String sql)
                                   throws SqlException
Specified by:
readExecuteImmediateForBatch_ in interface MaterialStatement
Throws:
SqlException

writePrepareDescribeOutput_

public void writePrepareDescribeOutput_(java.lang.String sql,
                                        Section section)
                                 throws SqlException
Specified by:
writePrepareDescribeOutput_ in interface MaterialStatement
Throws:
SqlException

readPrepareDescribeOutput_

public void readPrepareDescribeOutput_()
                                throws SqlException
Specified by:
readPrepareDescribeOutput_ in interface MaterialStatement
Throws:
SqlException

writeOpenQuery_

public void writeOpenQuery_(Section section,
                            int fetchSize,
                            int resultSetType)
                     throws SqlException
Specified by:
writeOpenQuery_ in interface MaterialStatement
Throws:
SqlException

readOpenQuery_

public void readOpenQuery_()
                    throws SqlException
Specified by:
readOpenQuery_ in interface MaterialStatement
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 interface MaterialStatement
Throws:
SqlException

readExecuteCall_

public void readExecuteCall_()
                      throws SqlException
Specified by:
readExecuteCall_ in interface MaterialStatement
Throws:
SqlException

writePrepare_

public void writePrepare_(java.lang.String sql,
                          Section section)
                   throws SqlException
Specified by:
writePrepare_ in interface MaterialStatement
Throws:
SqlException

readPrepare_

public void readPrepare_()
                  throws SqlException
Specified by:
readPrepare_ in interface MaterialStatement
Throws:
SqlException

markClosedOnServer_

public void markClosedOnServer_()
Specified by:
markClosedOnServer_ in interface MaterialStatement

Built on Thu 2010-12-23 20:49:13+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.