Class AlterDomainRenameConstraint


public class AlterDomainRenameConstraint extends AlterDomain
This class represents the statement ALTER DOMAIN RENAME CONSTRAINT
  • Field Details

    • constraintName

      private String constraintName
    • newConstraintName

      private String newConstraintName
  • Constructor Details

    • AlterDomainRenameConstraint

      public AlterDomainRenameConstraint(SessionLocal session, Schema schema)
  • Method Details

    • setConstraintName

      public void setConstraintName(String string)
    • setNewConstraintName

      public void setNewConstraintName(String newName)
    • 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