Class SetConstraintsConstantAction
java.lang.Object
org.apache.derby.impl.sql.execute.DDLConstantAction
org.apache.derby.impl.sql.execute.SetConstraintsConstantAction
- All Implemented Interfaces:
ConstantAction
This class describes actions that are performed for a
set constraint at execution time.
Note that the dependency action we send is SET_CONSTRAINTS rather than ALTER_TABLE. We do this because we want to distinguish SET_CONSTRAINTS from ALTER_TABLE for error messages.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanFields inherited from interface ConstantAction
WHEN_MATCHED_THEN_DELETE, WHEN_MATCHED_THEN_UPDATE, WHEN_NOT_MATCHED_THEN_INSERT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecuteConstantAction(Activation activation) This is the guts of the execution time logic for SET CONSTRAINT.toString()
-
Field Details
-
deferred
private final boolean deferred -
constraints
-
-
Constructor Details
-
SetConstraintsConstantAction
-
-
Method Details
-
toString
-
executeConstantAction
This is the guts of the execution time logic for SET CONSTRAINT.- Parameters:
activation-- Throws:
StandardException- Thrown on failure- See Also:
-