Class TableTransformingBaseConverter

    • Constructor Detail

      • TableTransformingBaseConverter

        public TableTransformingBaseConverter()
    • Method Detail

      • needsToPerformConverter

        protected boolean needsToPerformConverter​(@NotNull
                                                  DBFunctions dbf)
      • getSchemaResourceFileName

        protected String getSchemaResourceFileName()
      • loadNewSchema

        protected SchemaDef loadNewSchema()
      • prepareShadowSchema

        protected SchemaDef prepareShadowSchema​(@NotNull
                                                SchemaDef originSchema)
      • checkAndRecoverTables

        protected void checkAndRecoverTables​(@NotNull
                                             DBFunctions dbf,
                                             @NotNull
                                             SchemaDef originSchema)
      • createAndPopulateShadowTables

        protected void createAndPopulateShadowTables​(@NotNull
                                                     DBFunctions dbf,
                                                     @NotNull
                                                     SchemaDef shadowSchema)
      • createNewTables

        protected void createNewTables​(@NotNull
                                       DBFunctions dbf,
                                       @NotNull
                                       SchemaDef originSchema)
      • copyTable

        protected static void copyTable​(@NotNull
                                        DBFunctions dbf,
                                        @NotNull
                                        String srcName,
                                        @NotNull
                                        String destName,
                                        @Nullable
                                        String condition)
      • copyTable

        protected static void copyTable​(@NotNull
                                        DBFunctions dbf,
                                        @NotNull
                                        String srcName,
                                        @NotNull
                                        String destName)
      • copyTableConsideringLengths

        protected static void copyTableConsideringLengths​(@NotNull
                                                          DBFunctions dbf,
                                                          @NotNull
                                                          String srcName,
                                                          @NotNull
                                                          TableDef dest)
      • dropOriginTables

        protected void dropOriginTables​(@NotNull
                                        DBFunctions dbf,
                                        @NotNull
                                        SchemaDef originSchema)
      • dropShadowTables

        protected void dropShadowTables​(@NotNull
                                        DBFunctions dbf,
                                        @NotNull
                                        SchemaDef shadowSchema)
      • dropSchemaTables

        protected static void dropSchemaTables​(@NotNull
                                               DBFunctions dbf,
                                               @NotNull
                                               SchemaDef shadowSchema)
      • getShadowSuffix

        protected String getShadowSuffix()
        Suffix for shadow (temporary) tables.