Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.derby.iapi.sql.execute
Interface ConstantAction  view ConstantAction download ConstantAction.java


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.


Field Summary
static int RUNTIMESTATISTICS
           
static int STATISTICSTIMING
           
 
Method Summary
 void executeConstantAction(org.apache.derby.iapi.sql.Activation activation)
          Run the ConstantAction.
 boolean modifiesTableId(org.apache.derby.catalog.UUID tableId)
          Does this constant action modify the passed in table uuid? By modify we mean add or drop things tied to this table (e.g.
 boolean upToDate()
          Reports whether these constants are up-to-date.
 

Field Detail

STATISTICSTIMING

public static final int STATISTICSTIMING
See Also:
Constant Field Values

RUNTIMESTATISTICS

public static final int RUNTIMESTATISTICS
See Also:
Constant Field Values
Method Detail

executeConstantAction

public void executeConstantAction(org.apache.derby.iapi.sql.Activation activation)
                           throws org.apache.derby.iapi.error.StandardException
Run the ConstantAction.


modifiesTableId

public boolean modifiesTableId(org.apache.derby.catalog.UUID tableId)
                        throws org.apache.derby.iapi.error.StandardException
Does this constant action modify the passed in table uuid? By modify we mean add or drop things tied to this table (e.g. index, trigger, constraint). Things like views or spses that reference this table don't count.


upToDate

public boolean upToDate()
                 throws org.apache.derby.iapi.error.StandardException
Reports whether these constants are up-to-date. This returns true for homogenous Cloudscape/Cloudsync. For the Plugin, this may return false;