org.apache.derby.iapi.sql.execute
Interface ConstantAction

All Known Implementing Classes:
AlterTableConstantAction, ConstraintConstantAction, CreateAliasConstantAction, CreateConstraintConstantAction, CreateIndexConstantAction, CreateRoleConstantAction, CreateSchemaConstantAction, CreateSequenceConstantAction, CreateTableConstantAction, CreateTriggerConstantAction, CreateViewConstantAction, DDLConstantAction, DDLSingleTableConstantAction, DeleteConstantAction, DropAliasConstantAction, DropConstraintConstantAction, DropIndexConstantAction, DropRoleConstantAction, DropSchemaConstantAction, DropSequenceConstantAction, DropStatisticsConstantAction, DropTableConstantAction, DropTriggerConstantAction, DropViewConstantAction, GrantRevokeConstantAction, GrantRoleConstantAction, IndexConstantAction, InsertConstantAction, LockTableConstantAction, RenameConstantAction, RevokeRoleConstantAction, SavepointConstantAction, SetConstraintsConstantAction, SetRoleConstantAction, SetSchemaConstantAction, SetTransactionIsolationConstantAction, UpdatableVTIConstantAction, UpdateConstantAction, WriteCursorConstantAction

public interface ConstantAction

This interface describes actions that are ALWAYS performed for a Statement at Execution time. For instance, it is used for DDL statements to describe what they should stuff into the catalogs.

An object satisfying this interface is put into the PreparedStatement and run at Execution time. Thus ConstantActions may be shared across threads and must not store connection/thread specific information in any instance field.


Method Summary
 void executeConstantAction(Activation activation)
          Run the ConstantAction.
 

Method Detail

executeConstantAction

void executeConstantAction(Activation activation)
                           throws StandardException
Run the ConstantAction.

Parameters:
activation - The execution environment for this constant action.
Throws:
StandardException - Thrown on failure

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.