Class TestConstraintNode

All Implemented Interfaces:
Visitable

class TestConstraintNode extends UnaryLogicalOperatorNode
A TestConstraintNode is used to determine when a constraint has been violated.
  • Field Details

    • sqlState

      private final String sqlState
    • tableName

      private final String tableName
    • cid

      private final UUID cid
    • deferrable

      private final boolean deferrable
    • constraintName

      private final String constraintName
  • Constructor Details

    • TestConstraintNode

      TestConstraintNode(ValueNode booleanValue, String sqlState, String tableName, ConstraintDescriptor cd, ContextManager cm) throws StandardException
      Parameters:
      booleanValue - The operand of the constraint test
      sqlState - The SQLState of the exception to throw if the constraint has failed
      tableName - The name of the table that the constraint is on
      cd - The descriptor of the constraint being checked
      cm - context manager
      Throws:
      StandardException
  • Method Details