Class AlterDomainDropConstraint


public class AlterDomainDropConstraint extends AlterDomain
This class represents the statement ALTER DOMAIN DROP CONSTRAINT
  • Field Details

    • constraintName

      private String constraintName
    • ifConstraintExists

      private final boolean ifConstraintExists
  • Constructor Details

    • AlterDomainDropConstraint

      public AlterDomainDropConstraint(SessionLocal session, Schema schema, boolean ifConstraintExists)
  • Method Details

    • setConstraintName

      public void setConstraintName(String string)
    • update

      long update(Schema schema, Domain domain)
      Specified by:
      update in class AlterDomain
    • 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