Class 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.
    • 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.
      • close

        public void close()
                   throws StandardException
        Description copied from interface: ResultSet
        Tells the system that there will be no more calls to getNextRow() (until the next open() call), so it can free up the resources associated with the ResultSet.
        Throws:
        StandardException - Thrown on error.
      • cleanUp

        public void cleanUp()
        No action is required, but not implemented in any base class
        See Also:
        ResultSet.cleanUp()