Class AlterDomain

Direct Known Subclasses:
AlterDomainAddConstraint, AlterDomainDropConstraint, AlterDomainExpressions, AlterDomainRename, AlterDomainRenameConstraint, AlterType, DropDomain

public abstract class AlterDomain extends SchemaCommand
The base class for ALTER DOMAIN commands.
  • Method Details

    • forAllDependencies

      public static void forAllDependencies(SessionLocal session, Domain domain, BiPredicate<Domain,Column> columnProcessor, BiPredicate<Domain,Domain> domainProcessor, boolean recompileExpressions)
      Processes all columns and domains that use the specified domain.
      Parameters:
      session - the session
      domain - the domain to process
      columnProcessor - column handler
      domainProcessor - domain handler
      recompileExpressions - whether processed expressions need to be recompiled
    • setDomainName

      public final void setDomainName(String domainName)
    • setIfDomainExists

      public final void setIfDomainExists(boolean b)
    • update

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