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
This class describes actions that are ALWAYS performed for a
drop constraint at Execution time.
- Version:
- 0.1
-
Field Summary
FieldsFields inherited from class ConstraintConstantAction
constraintId, constraintName, constraintType, indexAction, schemaId, schemaName, tableNameFields inherited from class DDLSingleTableConstantAction
tableIdFields inherited from interface ConstantAction
WHEN_MATCHED_THEN_DELETE, WHEN_MATCHED_THEN_UPDATE, WHEN_NOT_MATCHED_THEN_INSERT -
Constructor Summary
ConstructorsConstructorDescriptionDropConstraintConstantAction(String constraintName, String constraintSchemaName, String tableName, UUID tableId, String tableSchemaName, IndexConstantAction indexAction, int behavior, int verifyType) Make one of these puppies. -
Method Summary
Modifier and TypeMethodDescriptionvoidexecuteConstantAction(Activation activation) This is the guts of the Execution-time logic for DROP CONSTRAINT.toString()Methods inherited from class ConstraintConstantAction
getConstraintId, getConstraintName, getConstraintType, getIndexAction, validateConstraint, validateFKConstraintMethods inherited from class DDLSingleTableConstantAction
dropConglomerate, dropConglomerate, dropConstraint, dropConstraint, dropConstraint, executeConglomReplacement, getConglomReplacementAction, recreateUniqueConstraintBackingIndexAsUniqueWhenNotNull
-
Field Details
-
cascade
private boolean cascade -
constraintSchemaName
-
verifyType
private int verifyType
-
-
Constructor Details
-
DropConstraintConstantAction
DropConstraintConstantAction(String constraintName, String constraintSchemaName, String tableName, UUID tableId, 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)
-
-
Method Details
-
toString
-
executeConstantAction
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:
-