org.apache.derby.impl.sql.execute
Class SetTransactionResultSet

java.lang.Object
  extended by org.apache.derby.impl.sql.execute.NoRowsResultSetImpl
      extended by org.apache.derby.impl.sql.execute.MiscResultSet
          extended by org.apache.derby.impl.sql.execute.SetTransactionResultSet
All Implemented Interfaces:
ResultSet

 class SetTransactionResultSet
extends MiscResultSet

This is a wrapper class which invokes the Execution-time logic for SET TRANSACTION statements. The real Execution-time logic lives inside the executeConstantAction() method of the Execution constant.


Field Summary
 
Fields inherited from class org.apache.derby.impl.sql.execute.NoRowsResultSetImpl
activation, beginExecutionTime, beginTime, endExecutionTime, endTime, lcc
 
Fields inherited from interface org.apache.derby.iapi.sql.ResultSet
CURRENT_RESULTSET_ONLY, ENTIRE_RESULTSET_TREE, ISAFTERLAST, ISBEFOREFIRST, ISFIRST, ISLAST
 
Constructor Summary
SetTransactionResultSet(Activation activation)
          Construct a SetTransactionResultSet
 
Method Summary
 boolean doesCommit()
          Does this ResultSet cause a commit or rollback.
 
Methods inherited from class org.apache.derby.impl.sql.execute.MiscResultSet
cleanUp, open
 
Methods inherited from class org.apache.derby.impl.sql.execute.NoRowsResultSetImpl
checkRowPosition, clearCurrentRow, close, evaluateACheckConstraint, evaluateCheckConstraints, evaluateGenerationClauses, finish, getAbsoluteRow, getActivation, getAutoGeneratedKeysResultset, getBeginExecutionTimestamp, getCurrentTimeMillis, getCursorName, getEndExecutionTimestamp, getExecuteTime, getFirstRow, getLastRow, getNextRow, getPreviousRow, getQueryPlanText, getRelativeRow, getResultDescription, getRowNumber, getSubqueryTrackingArray, getTimeSpent, getWarnings, isClosed, modifiedRowCount, returnsRows, setAfterLastRow, setBeforeFirstRow, setup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetTransactionResultSet

SetTransactionResultSet(Activation activation)
Construct a SetTransactionResultSet

Parameters:
activation - Describes run-time environment.
Method Detail

doesCommit

public boolean doesCommit()
Does this ResultSet cause a commit or rollback.

Overrides:
doesCommit in class NoRowsResultSetImpl
Returns:
Whether or not this ResultSet cause a commit or rollback.

Built on Thu 2012-03-29 21:53:33+0000, from revision ???

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