ConstantActionpublic class AlterConstraintConstantAction extends ConstraintConstantAction
| Modifier and Type | Field | Description |
|---|---|---|
(package private) boolean[] |
characteristics |
|
private java.lang.String |
constraintSchemaName |
WHEN_MATCHED_THEN_DELETE, WHEN_MATCHED_THEN_UPDATE, WHEN_NOT_MATCHED_THEN_INSERTconstraintId, constraintName, constraintType, indexAction, schemaId, schemaName, tableNametableId| Constructor | Description |
|---|---|
AlterConstraintConstantAction(java.lang.String constraintName,
java.lang.String constraintSchemaName,
boolean[] characteristics,
java.lang.String tableName,
UUID tableId,
java.lang.String tableSchemaName,
IndexConstantAction indexAction) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
executeConstantAction(Activation activation) |
This is the guts of the Execution-time logic for ALTER CONSTRAINT.
|
java.lang.String |
toString() |
getConstraintId, getConstraintName, getConstraintType, getIndexAction, validateConstraint, validateFKConstraintaddColumnDependencies, adjustUDTDependencies, adjustUDTDependencies, constructToString, getAndCheckSchemaDescriptor, getSchemaDescriptorForCreate, lockTableForDDL, storeConstraintDependenciesOnPrivileges, storeViewTriggerDependenciesOnPrivilegesdropConglomerate, dropConglomerate, dropConstraint, dropConstraint, dropConstraint, executeConglomReplacement, getConglomReplacementAction, recreateUniqueConstraintBackingIndexAsUniqueWhenNotNullprivate java.lang.String constraintSchemaName
boolean[] characteristics
AlterConstraintConstantAction(java.lang.String constraintName,
java.lang.String constraintSchemaName,
boolean[] characteristics,
java.lang.String tableName,
UUID tableId,
java.lang.String tableSchemaName,
IndexConstantAction indexAction)
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 constraintpublic java.lang.String toString()
toString in class java.lang.Objectpublic 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.