Class AlterDomain

    • Method Detail

      • forAllDependencies

        public static void forAllDependencies​(SessionLocal session,
                                              Domain domain,
                                              java.util.function.BiPredicate<Domain,​Column> columnProcessor,
                                              java.util.function.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​(java.lang.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