Class CompilerSqlComposer
java.lang.Object
org.openprovenance.prov.template.compiler.sql.CompilerSqlComposer
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCompilerSqlComposer(ProvFactory pFactory, boolean withRelationId, String tableKey, Map<String, String> functionDeclarations, Map<String, String> arrayFunctionDeclarations) -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerateSQLInsertArrayFunction(String templateName, String consistOf, TemplateBindingsSchema templateBindingsSchema, List<String> shared) voidgenerateSQLInsertFunction(String jsonschema, String templateName, String consistOf, String root_dir, TemplateBindingsSchema templateBindingsSchema, List<String> shared) static StringgetTheSqlType(CompilerUtil compilerUtil, String key, TemplateBindingsSchema templateBindingsSchema, Map<String, List<Descriptor>> var)
-
Field Details
-
ARRAY_OF_STRING
-
TOKEN_VAR_NAME
- See Also:
-
DUMMY
- See Also:
-
withRelationId
public final boolean withRelationId
-
-
Constructor Details
-
CompilerSqlComposer
-
-
Method Details
-
toListCollector
-
toListCollector2
-
generateSQLInsertFunction
-
generateSQLInsertArrayFunction
public void generateSQLInsertArrayFunction(String templateName, String consistOf, TemplateBindingsSchema templateBindingsSchema, List<String> shared) -
getTheSqlType
public static String getTheSqlType(CompilerUtil compilerUtil, String key, TemplateBindingsSchema templateBindingsSchema, Map<String, List<Descriptor>> var) -
sqlify
-