Class SetConstraintsConstantAction

  • All Implemented Interfaces:
    ConstantAction

    class SetConstraintsConstantAction
    extends DDLConstantAction
    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 Detail

      • deferred

        private final boolean deferred
      • constraints

        private final java.util.List<TableName> constraints
    • Constructor Detail

      • SetConstraintsConstantAction

        SetConstraintsConstantAction​(java.util.List<TableName> constraints,
                                     boolean deferred)
        Parameters:
        constraints - List of constraints to set; null if all.
        deferred - Encodes IMMEDIATE (false), DEFERRED (true)