org.apache.derby.impl.sql.execute
Class DropConstraintConstantAction
java.lang.Object
org.apache.derby.impl.sql.execute.GenericConstantAction
org.apache.derby.impl.sql.execute.DDLConstantAction
org.apache.derby.impl.sql.execute.DDLSingleTableConstantAction
org.apache.derby.impl.sql.execute.ConstraintConstantAction
org.apache.derby.impl.sql.execute.DropConstraintConstantAction
- All Implemented Interfaces:
- ConstantAction
- class DropConstraintConstantAction
- extends ConstraintConstantAction
This class describes actions that are ALWAYS performed for a
drop constraint at Execution time.
- Version:
- 0.1
- Author:
- Jerry Brenner
Constructor Summary |
(package private) |
DropConstraintConstantAction(java.lang.String constraintName,
java.lang.String constraintSchemaName,
java.lang.String tableName,
UUID tableId,
java.lang.String tableSchemaName,
IndexConstantAction indexAction,
int behavior,
int verifyType)
Make one of these puppies. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
cascade
private boolean cascade
constraintSchemaName
private java.lang.String constraintSchemaName
verifyType
private int verifyType
DropConstraintConstantAction
DropConstraintConstantAction(java.lang.String constraintName,
java.lang.String constraintSchemaName,
java.lang.String tableName,
UUID tableId,
java.lang.String tableSchemaName,
IndexConstantAction indexAction,
int behavior,
int verifyType)
- Make one of these puppies.
- Parameters:
constraintName
- Constraint name.constraintSchemaName
- the schema that constraint lives in.tableName
- Table name.tableId
- UUID of table.tableSchemaName
- the schema that table lives in.indexAction
- IndexConstantAction for constraint (if necessary)behavior
- the drop behavior (e.g. StatementType.DROP_CASCADE)
toString
public java.lang.String toString()
executeConstantAction
public void executeConstantAction(Activation activation)
throws StandardException
- This is the guts of the Execution-time logic for DROP CONSTRAINT.
- Parameters:
activation
- The execution environment for this constant action.
- Throws:
StandardException
- Thrown on failure- See Also:
ConstantAction.executeConstantAction(org.apache.derby.iapi.sql.Activation)
dropConstraintAndIndex
protected static void dropConstraintAndIndex(DependencyManager dm,
TableDescriptor td,
DataDictionary dd,
ConstraintDescriptor conDesc,
TransactionController tc,
Activation activation,
boolean clearDependencies)
throws StandardException
- Throws:
StandardException
Apache Derby V10.0 Engine Documentation - Copyright © 1997,2004 The Apache Software Foundation or its licensors, as applicable.