Package tilda.generation
Class Generator
- java.lang.Object
-
- tilda.generation.Generator
-
public class Generator extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.apache.logging.log4j.LoggerLOGstatic java.lang.StringTILDA_VERSIONstatic java.lang.StringTILDA_VERSION_VAROK
-
Constructor Summary
Constructors Constructor Description Generator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.io.FilegenAppData(GeneratorSession G, java.io.File GenFolder, Object O)static voidgenAppData(GeneratorSession G, Object O, java.io.PrintWriter Out)static java.io.FilegenAppFactory(GeneratorSession G, java.io.File GenFolder, Object O)static voidgenAppFactory(GeneratorSession G, Object O, java.io.PrintWriter Out)static booleangenerate(Schema S, GeneratorSession G)static voidgenTildaBigQuerySchema(Base O, java.io.PrintWriter Out)protected static voidgenTildaBigQuerySchemas(GeneratorSession G, java.io.File GenFolder, Schema S)static voidgenTildaData(GeneratorSession G, java.io.File GenFolder, Object O)static voidgenTildaData(GeneratorSession G, Object O, java.io.PrintWriter Out)static voidgenTildaFactory(GeneratorSession G, java.io.File GenFolder, Object O)static voidgenTildaFactory(GeneratorSession G, Object O, java.io.PrintWriter Out)protected static voidgenTildaSql(GeneratorSession G, java.io.File GenFolder, Schema S)static voidgenTildaSupport(GeneratorSession G, java.io.File GenFolder, Schema S)static voidgenTildaSupport(GeneratorSession G, Schema S, java.io.PrintWriter Out)static voidgetFullViewDDL(CodeGenSql CG, java.io.PrintWriter Out, View V)static voidgetTableDDL(CodeGenSql CG, java.io.PrintWriter Out, Object O, boolean mainDDL, boolean keysDDL)static voidgetViewBaseDDL(CodeGenSql CG, java.io.PrintWriter Out, View V)static voidgetViewCommentsDDL(CodeGenSql CG, java.io.PrintWriter Out, View V)
-
-
-
Field Detail
-
LOG
protected static final org.apache.logging.log4j.Logger LOG
-
TILDA_VERSION
public static final java.lang.String TILDA_VERSION
- See Also:
- Constant Field Values
-
TILDA_VERSION_VAROK
public static final java.lang.String TILDA_VERSION_VAROK
- See Also:
- Constant Field Values
-
-
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.Exceptionjava.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
-
-