Class AlterDomainExpressions


public class AlterDomainExpressions extends AlterDomain
This class represents the statements ALTER DOMAIN SET DEFAULT ALTER DOMAIN DROP DEFAULT ALTER DOMAIN SET ON UPDATE ALTER DOMAIN DROP ON UPDATE
  • Field Details

    • type

      private final int type
    • expression

      private Expression expression
  • Constructor Details

    • AlterDomainExpressions

      public AlterDomainExpressions(SessionLocal session, Schema schema, int type)
  • Method Details

    • setExpression

      public void setExpression(Expression expression)
    • update

      long update(Schema schema, Domain domain)
      Specified by:
      update in class AlterDomain
    • copyColumn

      private boolean copyColumn(Domain domain, Column targetColumn)
    • copyDomain

      private boolean copyDomain(Domain domain, Domain targetDomain)
    • copyExpressions

      private boolean copyExpressions(SessionLocal session, Domain domain, ColumnTemplate targetColumn)
    • 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