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

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

 class MiscResultSet
extends NoRowsResultSetImpl

This is a wrapper class which invokes the Execution-time logic for Misc statements. The real Execution-time logic lives inside the executeConstantAction() method. Note that when re-using the language result set tree across executions (DERBY-827) it is not possible to store the ConstantAction as a member variable, because a re-prepare of the statement will invalidate the stored ConstantAction. Re-preparing a statement does not create a new Activation unless the GeneratedClass has changed, so the existing result set tree may survive a re-prepare.


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
MiscResultSet(Activation activation)
          Construct a MiscResultSet
 
Method Summary
 void cleanUp()
          No action is required, but not implemented in any base class
 void open()
          Opens a MiscResultSet, executes the Activation's ConstantAction, and then immediately closes the MiscResultSet.
 
Methods inherited from class org.apache.derby.impl.sql.execute.NoRowsResultSetImpl
checkRowPosition, clearCurrentRow, close, doesCommit, 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

MiscResultSet

MiscResultSet(Activation activation)
Construct a MiscResultSet

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

open

public void open()
          throws StandardException
Opens a MiscResultSet, executes the Activation's ConstantAction, and then immediately closes the MiscResultSet.

Throws:
StandardException - Standard Derby error policy.

cleanUp

public void cleanUp()
No action is required, but not implemented in any base class

See Also:
ResultSet.cleanUp()

Built on Thu 2011-03-10 11:54:14+0000, from revision ???

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