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.Logger
LOG
static java.lang.String
TILDA_VERSION
static java.lang.String
TILDA_VERSION_VAROK
-
Constructor Summary
Constructors Constructor Description Generator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.io.File
genAppData(GeneratorSession G, java.io.File GenFolder, Object O)
static void
genAppData(GeneratorSession G, Object O, java.io.PrintWriter Out)
static java.io.File
genAppFactory(GeneratorSession G, java.io.File GenFolder, Object O)
static void
genAppFactory(GeneratorSession G, Object O, java.io.PrintWriter Out)
static boolean
generate(Schema S, GeneratorSession G)
static void
genTildaBigQuerySchema(Base O, java.io.PrintWriter Out)
protected static void
genTildaBigQuerySchemas(GeneratorSession G, java.io.File GenFolder, Schema S)
static void
genTildaData(GeneratorSession G, java.io.File GenFolder, Object O)
static void
genTildaData(GeneratorSession G, Object O, java.io.PrintWriter Out)
static void
genTildaFactory(GeneratorSession G, java.io.File GenFolder, Object O)
static void
genTildaFactory(GeneratorSession G, Object O, java.io.PrintWriter Out)
protected static void
genTildaSql(GeneratorSession G, java.io.File GenFolder, Schema S)
static void
genTildaSupport(GeneratorSession G, java.io.File GenFolder, Schema S)
static void
genTildaSupport(GeneratorSession G, Schema S, java.io.PrintWriter Out)
static void
getFullViewDDL(CodeGenSql CG, java.io.PrintWriter Out, View V)
static void
getTableDDL(CodeGenSql CG, java.io.PrintWriter Out, Object O, boolean mainDDL, boolean keysDDL)
static void
getViewBaseDDL(CodeGenSql CG, java.io.PrintWriter Out, View V)
static void
getViewCommentsDDL(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.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
-
-