Class ContextUtils.Builder
- java.lang.Object
-
- fr.mines_stetienne.ci.sparql_generate.utils.ContextUtils.Builder
-
- Enclosing class:
- ContextUtils
public static class ContextUtils.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Context
build()
ContextUtils.Builder
setBase(String base)
ContextUtils.Builder
setDebugTemplate(boolean debugTemplate)
ContextUtils.Builder
setExecutor(ExecutorService executor)
ContextUtils.Builder
setFailOnException(boolean failOnException)
ContextUtils.Builder
setGenerateOutput(StreamRDF output)
ContextUtils.Builder
setInputDataset(Dataset inputDataset)
ContextUtils.Builder
setInputModel(Model inputModel)
ContextUtils.Builder
setPrefixMapping(Query q)
ContextUtils.Builder
setPrefixMapping(PrefixMapping pm)
ContextUtils.Builder
setQueryExecutor(QueryExecutor queryExecutor)
ContextUtils.Builder
setSelectOutput(Consumer<ResultSet> output)
ContextUtils.Builder
setStreamManager(SPARQLExtStreamManager sm)
ContextUtils.Builder
setTemplateOutput(org.apache.jena.atlas.io.IndentedWriter output)
-
-
-
Method Detail
-
setBase
public ContextUtils.Builder setBase(String base)
-
setPrefixMapping
public ContextUtils.Builder setPrefixMapping(PrefixMapping pm)
-
setPrefixMapping
public ContextUtils.Builder setPrefixMapping(Query q)
-
setInputModel
public ContextUtils.Builder setInputModel(Model inputModel)
-
setInputDataset
public ContextUtils.Builder setInputDataset(Dataset inputDataset)
-
setTemplateOutput
public ContextUtils.Builder setTemplateOutput(org.apache.jena.atlas.io.IndentedWriter output)
-
setGenerateOutput
public ContextUtils.Builder setGenerateOutput(StreamRDF output)
-
setSelectOutput
public ContextUtils.Builder setSelectOutput(Consumer<ResultSet> output)
-
setStreamManager
public ContextUtils.Builder setStreamManager(SPARQLExtStreamManager sm)
-
setFailOnException
public ContextUtils.Builder setFailOnException(boolean failOnException)
-
setExecutor
public ContextUtils.Builder setExecutor(ExecutorService executor)
-
setDebugTemplate
public ContextUtils.Builder setDebugTemplate(boolean debugTemplate)
-
setQueryExecutor
public ContextUtils.Builder setQueryExecutor(QueryExecutor queryExecutor)
-
build
public Context build()
-
-