Class CompilerClient
- java.lang.Object
-
- org.openprovenance.prov.template.compiler.CompilerClient
-
public class CompilerClient extends Object
-
-
Constructor Summary
Constructors Constructor Description CompilerClient(ProvFactory pFactory, CompilerSQL compilerSQL)
-
Method Summary
Modifier and Type Method Description com.squareup.javapoet.MethodSpecclientAccessorGenerator(String templateName, String packge)com.squareup.javapoet.MethodSpecgenerateApplyMethod(Set<QualifiedName> allVars, Set<QualifiedName> allAtts, String name, String template, String loggerName, String packge, com.fasterxml.jackson.databind.JsonNode bindings_schema)com.squareup.javapoet.MethodSpecgenerateArgsToRecordMethod(Set<QualifiedName> allVars, Set<QualifiedName> allAtts, String name, String template, String loggerName, String packge, com.fasterxml.jackson.databind.JsonNode bindings_schema)com.squareup.javapoet.TypeSpec.BuildergenerateClassInit(String builderName, String builderPackage, String processorName, String processorPackage, String supername)com.squareup.javapoet.MethodSpecgenerateClientCSVConverterMethod_aux(Set<QualifiedName> allVars, Set<QualifiedName> allAtts, String name, String template, String loggerName, String packge, com.fasterxml.jackson.databind.JsonNode bindings_schema)com.squareup.javapoet.JavaFilegenerateClientLib(Document doc, String name, String templateName, String packge, String resource, com.fasterxml.jackson.databind.JsonNode bindings_schema)com.squareup.javapoet.MethodSpecgenerateClientMethod_aux(Set<QualifiedName> allVars, Set<QualifiedName> allAtts, String name, String template, String invoke, String loggerName, com.fasterxml.jackson.databind.JsonNode bindings_schema)com.squareup.javapoet.MethodSpecgenerateClientMethod2(Set<QualifiedName> allVars, Set<QualifiedName> allAtts, String name, String template, com.fasterxml.jackson.databind.JsonNode bindings_schema)com.squareup.javapoet.MethodSpecgenerateClientMethod2(Set<QualifiedName> allVars, Set<QualifiedName> allAtts, String name, String template, com.fasterxml.jackson.databind.JsonNode bindings_schema, boolean legacy)com.squareup.javapoet.MethodSpecgenerateClientMethod2PureCsv(Set<QualifiedName> allVars, Set<QualifiedName> allAtts, String name, String template, com.fasterxml.jackson.databind.JsonNode bindings_schema)com.squareup.javapoet.MethodSpecgenerateClientMethod3(Set<QualifiedName> allVars, Set<QualifiedName> allAtts, String name, String template, com.fasterxml.jackson.databind.JsonNode bindings_schema)com.squareup.javapoet.MethodSpecgenerateClientMethod3static(Set<QualifiedName> allVars, Set<QualifiedName> allAtts, String name, String template, com.fasterxml.jackson.databind.JsonNode bindings_schema)com.squareup.javapoet.MethodSpecgenerateClientMethod4(Set<QualifiedName> allVars, Set<QualifiedName> allAtts, String name, String template, com.fasterxml.jackson.databind.JsonNode bindings_schema, IndexedDocument indexed)com.squareup.javapoet.MethodSpecgenerateClientMethod4static(Set<QualifiedName> allVars, Set<QualifiedName> allAtts, String name, String template, com.fasterxml.jackson.databind.JsonNode bindings_schema, IndexedDocument indexed)com.squareup.javapoet.MethodSpecgenerateClientSQLConverterMethod_aux(Set<QualifiedName> allVars, Set<QualifiedName> allAtts, String name, String template, String loggerName, String packge, com.fasterxml.jackson.databind.JsonNode bindings_schema)com.squareup.javapoet.MethodSpecgenerateExamplarBean(Set<QualifiedName> allVars, Set<QualifiedName> allAtts, String name, String template, String packge, com.fasterxml.jackson.databind.JsonNode bindings_schema)com.squareup.javapoet.MethodSpecgenerateFactoryMethodToBeanWithArray(Set<QualifiedName> allVars, Set<QualifiedName> allAtts, String name, String template, String packge, com.fasterxml.jackson.databind.JsonNode bindings_schema)com.squareup.javapoet.MethodSpecgenerateFactoryMethodWithBean(Set<QualifiedName> allVars, Set<QualifiedName> allAtts, String name, String template, String packge, com.fasterxml.jackson.databind.JsonNode bindings_schema)com.squareup.javapoet.MethodSpecgenerateNewBean(Set<QualifiedName> allVars, Set<QualifiedName> allAtts, String name, String template, String packge, com.fasterxml.jackson.databind.JsonNode bindings_schema)com.squareup.javapoet.MethodSpecgenerateProcessorConverter(Set<QualifiedName> allVars, Set<QualifiedName> allAtts, String name, String template, String loggerName, String packge, com.fasterxml.jackson.databind.JsonNode bindings_schema)com.squareup.javapoet.MethodSpecgenerateProcessorConverter2(Set<QualifiedName> allVars, Set<QualifiedName> allAtts, String name, String template, String loggerName, String packge, com.fasterxml.jackson.databind.JsonNode bindings_schema)com.squareup.javapoet.MethodSpecgenerateRecordCsvProcessorMethod()com.squareup.javapoet.JavaFilegenerateSQLInterface(String packge)booleangetFoundEscape()com.squareup.javapoet.MethodSpecnameAccessorGenerator(String templateName)
-
-
-
Constructor Detail
-
CompilerClient
public CompilerClient(ProvFactory pFactory, CompilerSQL compilerSQL)
-
-
Method Detail
-
generateClassInit
public com.squareup.javapoet.TypeSpec.Builder generateClassInit(String builderName, String builderPackage, String processorName, String processorPackage, String supername)
-
generateClientLib
public com.squareup.javapoet.JavaFile generateClientLib(Document doc, String name, String templateName, String packge, String resource, com.fasterxml.jackson.databind.JsonNode bindings_schema)
-
nameAccessorGenerator
public com.squareup.javapoet.MethodSpec nameAccessorGenerator(String templateName)
-
generateClientMethod_aux
public com.squareup.javapoet.MethodSpec generateClientMethod_aux(Set<QualifiedName> allVars, Set<QualifiedName> allAtts, String name, String template, String invoke, String loggerName, com.fasterxml.jackson.databind.JsonNode bindings_schema)
-
generateClientMethod2
public com.squareup.javapoet.MethodSpec generateClientMethod2(Set<QualifiedName> allVars, Set<QualifiedName> allAtts, String name, String template, com.fasterxml.jackson.databind.JsonNode bindings_schema)
-
generateClientMethod2PureCsv
public com.squareup.javapoet.MethodSpec generateClientMethod2PureCsv(Set<QualifiedName> allVars, Set<QualifiedName> allAtts, String name, String template, com.fasterxml.jackson.databind.JsonNode bindings_schema)
-
generateClientCSVConverterMethod_aux
public com.squareup.javapoet.MethodSpec generateClientCSVConverterMethod_aux(Set<QualifiedName> allVars, Set<QualifiedName> allAtts, String name, String template, String loggerName, String packge, com.fasterxml.jackson.databind.JsonNode bindings_schema)
-
generateClientSQLConverterMethod_aux
public com.squareup.javapoet.MethodSpec generateClientSQLConverterMethod_aux(Set<QualifiedName> allVars, Set<QualifiedName> allAtts, String name, String template, String loggerName, String packge, com.fasterxml.jackson.databind.JsonNode bindings_schema)
-
generateArgsToRecordMethod
public com.squareup.javapoet.MethodSpec generateArgsToRecordMethod(Set<QualifiedName> allVars, Set<QualifiedName> allAtts, String name, String template, String loggerName, String packge, com.fasterxml.jackson.databind.JsonNode bindings_schema)
-
generateProcessorConverter
public com.squareup.javapoet.MethodSpec generateProcessorConverter(Set<QualifiedName> allVars, Set<QualifiedName> allAtts, String name, String template, String loggerName, String packge, com.fasterxml.jackson.databind.JsonNode bindings_schema)
-
generateProcessorConverter2
public com.squareup.javapoet.MethodSpec generateProcessorConverter2(Set<QualifiedName> allVars, Set<QualifiedName> allAtts, String name, String template, String loggerName, String packge, com.fasterxml.jackson.databind.JsonNode bindings_schema)
-
generateApplyMethod
public com.squareup.javapoet.MethodSpec generateApplyMethod(Set<QualifiedName> allVars, Set<QualifiedName> allAtts, String name, String template, String loggerName, String packge, com.fasterxml.jackson.databind.JsonNode bindings_schema)
-
generateClientMethod2
public com.squareup.javapoet.MethodSpec generateClientMethod2(Set<QualifiedName> allVars, Set<QualifiedName> allAtts, String name, String template, com.fasterxml.jackson.databind.JsonNode bindings_schema, boolean legacy)
-
getFoundEscape
public boolean getFoundEscape()
-
generateClientMethod3static
public com.squareup.javapoet.MethodSpec generateClientMethod3static(Set<QualifiedName> allVars, Set<QualifiedName> allAtts, String name, String template, com.fasterxml.jackson.databind.JsonNode bindings_schema)
-
generateClientMethod3
public com.squareup.javapoet.MethodSpec generateClientMethod3(Set<QualifiedName> allVars, Set<QualifiedName> allAtts, String name, String template, com.fasterxml.jackson.databind.JsonNode bindings_schema)
-
generateRecordCsvProcessorMethod
public com.squareup.javapoet.MethodSpec generateRecordCsvProcessorMethod()
-
generateClientMethod4
public com.squareup.javapoet.MethodSpec generateClientMethod4(Set<QualifiedName> allVars, Set<QualifiedName> allAtts, String name, String template, com.fasterxml.jackson.databind.JsonNode bindings_schema, IndexedDocument indexed)
-
generateClientMethod4static
public com.squareup.javapoet.MethodSpec generateClientMethod4static(Set<QualifiedName> allVars, Set<QualifiedName> allAtts, String name, String template, com.fasterxml.jackson.databind.JsonNode bindings_schema, IndexedDocument indexed)
-
generateFactoryMethodWithBean
public com.squareup.javapoet.MethodSpec generateFactoryMethodWithBean(Set<QualifiedName> allVars, Set<QualifiedName> allAtts, String name, String template, String packge, com.fasterxml.jackson.databind.JsonNode bindings_schema)
-
generateFactoryMethodToBeanWithArray
public com.squareup.javapoet.MethodSpec generateFactoryMethodToBeanWithArray(Set<QualifiedName> allVars, Set<QualifiedName> allAtts, String name, String template, String packge, com.fasterxml.jackson.databind.JsonNode bindings_schema)
-
generateNewBean
public com.squareup.javapoet.MethodSpec generateNewBean(Set<QualifiedName> allVars, Set<QualifiedName> allAtts, String name, String template, String packge, com.fasterxml.jackson.databind.JsonNode bindings_schema)
-
generateExamplarBean
public com.squareup.javapoet.MethodSpec generateExamplarBean(Set<QualifiedName> allVars, Set<QualifiedName> allAtts, String name, String template, String packge, com.fasterxml.jackson.databind.JsonNode bindings_schema)
-
generateSQLInterface
public com.squareup.javapoet.JavaFile generateSQLInterface(String packge)
-
-