Class AlterDomain

    • Field Detail

      • domainName

        java.lang.String domainName
      • ifDomainExists

        boolean ifDomainExists
    • 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
      • forTable

        private static boolean forTable​(SessionLocal session,
                                        Domain domain,
                                        java.util.function.BiPredicate<Domain,​Column> columnProcessor,
                                        boolean recompileExpressions,
                                        Table t)
      • setDomainName

        public final void setDomainName​(java.lang.String domainName)
      • setIfDomainExists

        public final void setIfDomainExists​(boolean b)
      • update

        abstract long update​(Schema schema,
                             Domain domain)