ConstantAction
public class DropConstraintConstantAction extends ConstraintConstantAction
Modifier and Type | Field | Description |
---|---|---|
private boolean |
cascade |
|
private java.lang.String |
constraintSchemaName |
|
private int |
verifyType |
WHEN_MATCHED_THEN_DELETE, WHEN_MATCHED_THEN_UPDATE, WHEN_NOT_MATCHED_THEN_INSERT
constraintId, constraintName, constraintType, indexAction, schemaId, schemaName, tableName
tableId
Constructor | Description |
---|---|
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.
|
Modifier and Type | Method | Description |
---|---|---|
void |
executeConstantAction(Activation activation) |
This is the guts of the Execution-time logic for DROP CONSTRAINT.
|
java.lang.String |
toString() |
getConstraintId, getConstraintName, getConstraintType, getIndexAction, validateConstraint, validateFKConstraint
addColumnDependencies, adjustUDTDependencies, adjustUDTDependencies, constructToString, getAndCheckSchemaDescriptor, getSchemaDescriptorForCreate, lockTableForDDL, storeConstraintDependenciesOnPrivileges, storeViewTriggerDependenciesOnPrivileges
dropConglomerate, dropConglomerate, dropConstraint, dropConstraint, dropConstraint, executeConglomReplacement, getConglomReplacementAction, recreateUniqueConstraintBackingIndexAsUniqueWhenNotNull
private boolean cascade
private java.lang.String constraintSchemaName
private int verifyType
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)
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)public java.lang.String toString()
toString
in class java.lang.Object
public void executeConstantAction(Activation activation) throws StandardException
activation
- The execution environment for this constant action.StandardException
- Thrown on failureConstantAction.executeConstantAction(org.apache.derby.iapi.sql.Activation)
Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.