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

java.lang.Object
  extended byorg.apache.derby.impl.sql.execute.GenericConstantAction
      extended byorg.apache.derby.impl.sql.execute.DDLConstantAction
          extended byorg.apache.derby.impl.sql.execute.DDLSingleTableConstantAction
All Implemented Interfaces:
ConstantAction
Direct Known Subclasses:
AlterTableConstantAction, ConstraintConstantAction, CreateTriggerConstantAction, DropTableConstantAction, DropTriggerConstantAction, IndexConstantAction, RenameConstantAction

abstract class DDLSingleTableConstantAction
extends DDLConstantAction

Abstract class that has actions that are across all DDL actions that are tied to a table. An example of DDL that affects a table is CREATE INDEX or DROP VIEW. An example of DDL that does not affect a table is CREATE STATEMENT or DROP SCHEMA.

Author:
jamie

Field Summary
protected  UUID tableId
           
 
Fields inherited from interface org.apache.derby.iapi.sql.execute.ConstantAction
RUNTIMESTATISTICS, STATISTICSTIMING
 
Constructor Summary
protected DDLSingleTableConstantAction(UUID tableId)
          constructor
 
Method Summary
 boolean modifiesTableId(UUID tableId)
          Does this constant action modify the passed in table uuid?
 
Methods inherited from class org.apache.derby.impl.sql.execute.DDLConstantAction
constructToString, getAndCheckSchemaDescriptor, getSchemaDescriptorForCreate, lockTableForDDL, readExternal, upToDate, writeExternal
 
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
 

Field Detail

tableId

protected UUID tableId
Constructor Detail

DDLSingleTableConstantAction

protected DDLSingleTableConstantAction(UUID tableId)
constructor

Parameters:
tableId - the target table
Method Detail

modifiesTableId

public boolean modifiesTableId(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. index, trigger, constraint). Things like views or spses that reference this table don't count.

Specified by:
modifiesTableId in interface ConstantAction
Overrides:
modifiesTableId in class DDLConstantAction
Parameters:
tableId - the table id

Built on Mon 2007-06-04 09:58:47+0400, from revision ???

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