org.apache.derby.impl.sql.execute
Class DropTableConstantAction
java.lang.Object
org.apache.derby.impl.sql.execute.DDLConstantAction
org.apache.derby.impl.sql.execute.DDLSingleTableConstantAction
org.apache.derby.impl.sql.execute.DropTableConstantAction
- All Implemented Interfaces:
- ConstantAction
class DropTableConstantAction
- extends DDLSingleTableConstantAction
This class describes actions that are ALWAYS performed for a
DROP TABLE Statement at Execution time.
Constructor Summary |
DropTableConstantAction(java.lang.String fullTableName,
java.lang.String tableName,
SchemaDescriptor sd,
long conglomerateNumber,
UUID tableId,
int behavior)
Make the ConstantAction for a DROP TABLE statement. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
conglomerateNumber
private final long conglomerateNumber
fullTableName
private final java.lang.String fullTableName
tableName
private final java.lang.String tableName
sd
private final SchemaDescriptor sd
cascade
private final boolean cascade
DropTableConstantAction
DropTableConstantAction(java.lang.String fullTableName,
java.lang.String tableName,
SchemaDescriptor sd,
long conglomerateNumber,
UUID tableId,
int behavior)
- Make the ConstantAction for a DROP TABLE statement.
- Parameters:
fullTableName
- Fully qualified table nametableName
- Table name.sd
- Schema that table lives in.conglomerateNumber
- Conglomerate number for heaptableId
- UUID for tablebehavior
- drop behavior: RESTRICT, CASCADE or default
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
executeConstantAction
public void executeConstantAction(Activation activation)
throws StandardException
- This is the guts of the Execution-time logic for DROP TABLE.
- Parameters:
activation
- The execution environment for this constant action.
- Throws:
StandardException
- Thrown on failure- See Also:
ConstantAction.executeConstantAction(org.apache.derby.iapi.sql.Activation)
dropAllConstraintDescriptors
private void dropAllConstraintDescriptors(TableDescriptor td,
Activation activation)
throws StandardException
- Throws:
StandardException
Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.