Class AlterConstraintConstantAction
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.AlterConstraintConstantAction
- All Implemented Interfaces:
ConstantAction
This class describes actions that are ALWAYS performed for a
alter constraint at Execution time.
-
Field Summary
FieldsFields 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
ConstructorsConstructorDescriptionAlterConstraintConstantAction
(String constraintName, String constraintSchemaName, boolean[] characteristics, String tableName, UUID tableId, String tableSchemaName, IndexConstantAction indexAction) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
executeConstantAction
(Activation activation) This is the guts of the Execution-time logic for ALTER CONSTRAINT.toString()
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
-
Field Details
-
constraintSchemaName
-
characteristics
boolean[] characteristics
-
-
Constructor Details
-
AlterConstraintConstantAction
AlterConstraintConstantAction(String constraintName, String constraintSchemaName, boolean[] characteristics, String tableName, UUID tableId, String tableSchemaName, IndexConstantAction indexAction) Constructor.- Parameters:
constraintName
- The constraint name.constraintSchemaName
- The schema that constraint lives in.characteristics
- The (presumably) altered enforcement characteristics.tableName
- Table name.tableId
- The UUID of table.tableSchemaName
- The schema that table lives in.indexAction
- IndexConstantAction for constraint
-
-
Method Details
-
toString
-
executeConstantAction
This is the guts of the Execution-time logic for ALTER CONSTRAINT.- Parameters:
activation
- The execution environment for this constant action.- Throws:
StandardException
- Thrown on failure- See Also:
-