- 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.
STATISTICSTIMING
public static final int STATISTICSTIMING
- See Also:
- Constant Field Values
RUNTIMESTATISTICS
public static final int RUNTIMESTATISTICS
- See Also:
- Constant Field Values
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;