Class AlterDomainAddConstraint


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

      • AlterDomainAddConstraint

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

      • setConstraintName

        public void setConstraintName​(java.lang.String constraintName)
      • getConstraintName

        public java.lang.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​(java.lang.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