Class Generator


  • public class Generator
    extends java.lang.Object
    • Field Detail

      • LOG

        protected static final org.apache.logging.log4j.Logger LOG
      • TILDA_VERSION_VAROK

        public static final java.lang.String TILDA_VERSION_VAROK
        See Also:
        Constant Field Values
    • Constructor Detail

      • Generator

        public Generator()
    • Method Detail

      • generate

        public static boolean generate​(Schema S,
                                       GeneratorSession G)
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • genTildaSql

        protected static void genTildaSql​(GeneratorSession G,
                                          java.io.File GenFolder,
                                          Schema S)
                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • genTildaBigQuerySchemas

        protected static void genTildaBigQuerySchemas​(GeneratorSession G,
                                                      java.io.File GenFolder,
                                                      Schema S)
                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • genTildaBigQuerySchema

        public static void genTildaBigQuerySchema​(Base O,
                                                  java.io.PrintWriter Out)
                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • getTableDDL

        public static void getTableDDL​(CodeGenSql CG,
                                       java.io.PrintWriter Out,
                                       Object O,
                                       boolean mainDDL,
                                       boolean keysDDL)
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getFullViewDDL

        public static void getFullViewDDL​(CodeGenSql CG,
                                          java.io.PrintWriter Out,
                                          View V)
                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getViewBaseDDL

        public static void getViewBaseDDL​(CodeGenSql CG,
                                          java.io.PrintWriter Out,
                                          View V)
                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getViewCommentsDDL

        public static void getViewCommentsDDL​(CodeGenSql CG,
                                              java.io.PrintWriter Out,
                                              View V)
                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • genTildaSupport

        public static void genTildaSupport​(GeneratorSession G,
                                           java.io.File GenFolder,
                                           Schema S)
                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • genTildaSupport

        public static void genTildaSupport​(GeneratorSession G,
                                           Schema S,
                                           java.io.PrintWriter Out)
                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • genTildaData

        public static void genTildaData​(GeneratorSession G,
                                        java.io.File GenFolder,
                                        Object O)
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • genTildaData

        public static void genTildaData​(GeneratorSession G,
                                        Object O,
                                        java.io.PrintWriter Out)
                                 throws java.lang.Exception,
                                        java.lang.Error
        Throws:
        java.lang.Exception
        java.lang.Error
      • genTildaFactory

        public static void genTildaFactory​(GeneratorSession G,
                                           java.io.File GenFolder,
                                           Object O)
                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • genTildaFactory

        public static void genTildaFactory​(GeneratorSession G,
                                           Object O,
                                           java.io.PrintWriter Out)
                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • genAppData

        public static java.io.File genAppData​(GeneratorSession G,
                                              java.io.File GenFolder,
                                              Object O)
                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • genAppData

        public static void genAppData​(GeneratorSession G,
                                      Object O,
                                      java.io.PrintWriter Out)
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • genAppFactory

        public static java.io.File genAppFactory​(GeneratorSession G,
                                                 java.io.File GenFolder,
                                                 Object O)
                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • genAppFactory

        public static void genAppFactory​(GeneratorSession G,
                                         Object O,
                                         java.io.PrintWriter Out)
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception