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
-
-
Field Summary
Fields Modifier and Type Field Description private booleancascadeprivate java.lang.StringconstraintSchemaNameprivate intverifyType-
Fields inherited from class org.apache.derby.impl.sql.execute.ConstraintConstantAction
constraintId, constraintName, constraintType, indexAction, schemaId, schemaName, tableName
-
Fields inherited from class org.apache.derby.impl.sql.execute.DDLSingleTableConstantAction
tableId
-
Fields inherited from interface org.apache.derby.iapi.sql.execute.ConstantAction
WHEN_MATCHED_THEN_DELETE, WHEN_MATCHED_THEN_UPDATE, WHEN_NOT_MATCHED_THEN_INSERT
-
-
Constructor Summary
Constructors 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecuteConstantAction(Activation activation)This is the guts of the Execution-time logic for DROP CONSTRAINT.java.lang.StringtoString()-
Methods inherited from class org.apache.derby.impl.sql.execute.ConstraintConstantAction
getConstraintId, getConstraintName, getConstraintType, getIndexAction, validateConstraint, validateFKConstraint
-
Methods inherited from class org.apache.derby.impl.sql.execute.DDLSingleTableConstantAction
dropConglomerate, dropConglomerate, dropConstraint, dropConstraint, dropConstraint, executeConglomReplacement, getConglomReplacementAction, recreateUniqueConstraintBackingIndexAsUniqueWhenNotNull
-
Methods inherited from class org.apache.derby.impl.sql.execute.DDLConstantAction
addColumnDependencies, adjustUDTDependencies, adjustUDTDependencies, constructToString, getAndCheckSchemaDescriptor, getSchemaDescriptorForCreate, lockTableForDDL, storeConstraintDependenciesOnPrivileges, storeViewTriggerDependenciesOnPrivileges
-
-
-
-
Constructor Detail
-
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)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.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)
-
-