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

java.lang.Object
  extended byorg.apache.derby.impl.sql.execute.GenericConstantAction
All Implemented Interfaces:
ConstantAction
Direct Known Subclasses:
DDLConstantAction, LockTableConstantAction, SetSchemaConstantAction, SetTransactionIsolationConstantAction

abstract class GenericConstantAction
extends java.lang.Object
implements ConstantAction

Utilities for constant actions


Field Summary
 
Fields inherited from interface org.apache.derby.iapi.sql.execute.ConstantAction
RUNTIMESTATISTICS, STATISTICSTIMING
 
Constructor Summary
(package private) GenericConstantAction()
           
 
Method Summary
 boolean modifiesTableId(UUID tableId)
          Does this constant action modify the passed in table uuid?
 void readExternal(java.io.ObjectInput in)
           
 boolean upToDate()
          Reports whether these constants are up-to-date.
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.derby.iapi.sql.execute.ConstantAction
executeConstantAction
 

Constructor Detail

GenericConstantAction

GenericConstantAction()
Method Detail

modifiesTableId

public boolean modifiesTableId(UUID tableId)
                        throws 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.

Specified by:
modifiesTableId in interface ConstantAction
Parameters:
tableId - the other table id
Throws:
StandardException - thrown on failure

readExternal

public final void readExternal(java.io.ObjectInput in)

writeExternal

public final void writeExternal(java.io.ObjectOutput out)

upToDate

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

Specified by:
upToDate in interface ConstantAction
Returns:
true if these constants are up-to-date false otherwise
Throws:
StandardException

Built on Tue 2006-10-10 19:23:47+0200, from revision exported

Apache Derby V10.1 Engine Documentation - Copyright © 1997,2005 The Apache Software Foundation or its licensors, as applicable.