Class AlterDomainAddConstraint


public class AlterDomainAddConstraint extends AlterDomain
This class represents the statement ALTER DOMAIN ADD CONSTRAINT
  • Constructor Details

    • AlterDomainAddConstraint

      public AlterDomainAddConstraint(SessionLocal session, Schema schema, boolean ifNotExists)
  • Method Details

    • setConstraintName

      public void setConstraintName(String constraintName)
    • getConstraintName

      public String getConstraintName()
    • getType

      public int getType()
      Description copied from class: Prepared
      Get the command type as defined in CommandInterface
      Specified by:
      getType in class Prepared
      Returns:
      the statement type
    • setCheckExpression

      public void setCheckExpression(Expression expression)
    • setComment

      public void setComment(String comment)
    • setCheckExisting

      public void setCheckExisting(boolean b)
    • update

      public final long update()
      Description copied from class: Prepared
      Execute the statement.
      Overrides:
      update in class Prepared
      Returns:
      the update count