org.apache.derby.impl.sql.execute
Class DropConstraintConstantAction
java.lang.Object
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
public class DropConstraintConstantAction
- extends ConstraintConstantAction
This class describes actions that are ALWAYS performed for a
drop constraint at Execution time.
- Version:
- 0.1
Constructor Summary |
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()
- 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 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)
Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.