java.lang.Object
org.apache.jena.sparql.exec.QueryExecDatasetBuilder
- All Implemented Interfaces:
QueryExecBuilder
,QueryExecMod
Query execution for local datasets - builder style.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build theQueryExec
.Set the context.static QueryExecDatasetBuilder
create()
Create a new builder ofQueryExec
for a local dataset.dataset
(DatasetGraph dsg) getQuery()
graph
(org.apache.jena.graph.Graph graph) initialBinding
(Binding binding) Deprecated.initialTimeout
(long value, TimeUnit timeUnit) overallTimeout
(long value, TimeUnit timeUnit) parseCheck
(boolean parseCheck) The parse-check flag has no effect for query execs over datasets.Set the query.Set the query.Set the query.Set a context entry.Set a context entry.substitution
(Var var, org.apache.jena.graph.Node value) Provide a (Var, Node) for substitution in the query when QueryExec is built.substitution
(Binding binding) Provide a set of (Var, Node) for substitution in the query when QueryExec is built.Set the overall query execution timeout.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.jena.sparql.exec.QueryExecBuilder
ask, construct, describe, select, substitution
Methods inherited from interface org.apache.jena.sparql.exec.QueryExecMod
timeout
-
Method Details
-
create
Create a new builder ofQueryExec
for a local dataset. -
getQuery
-
getQueryString
-
query
Description copied from interface:QueryExecBuilder
Set the query.- Specified by:
query
in interfaceQueryExecBuilder
-
query
Description copied from interface:QueryExecBuilder
Set the query.- Specified by:
query
in interfaceQueryExecBuilder
-
parseCheck
The parse-check flag has no effect for query execs over datasets.- Specified by:
parseCheck
in interfaceQueryExecBuilder
-
query
Description copied from interface:QueryExecBuilder
Set the query.- Specified by:
query
in interfaceQueryExecBuilder
-
dataset
-
graph
-
set
Description copied from interface:QueryExecBuilder
Set a context entry.- Specified by:
set
in interfaceQueryExecBuilder
-
set
Description copied from interface:QueryExecBuilder
Set a context entry.- Specified by:
set
in interfaceQueryExecBuilder
-
context
Description copied from interface:QueryExecBuilder
Set the context. If not set, defaults to the system context (ARQ.getContext()
).- Specified by:
context
in interfaceQueryExecBuilder
-
getContext
- Specified by:
getContext
in interfaceQueryExecMod
-
substitution
Description copied from interface:QueryExecBuilder
Provide a set of (Var, Node) for substitution in the query when QueryExec is built.- Specified by:
substitution
in interfaceQueryExecBuilder
-
substitution
Description copied from interface:QueryExecBuilder
Provide a (Var, Node) for substitution in the query when QueryExec is built.- Specified by:
substitution
in interfaceQueryExecBuilder
-
initialBinding
Deprecated. -
timeout
Description copied from interface:QueryExecBuilder
Set the overall query execution timeout.- Specified by:
timeout
in interfaceQueryExecBuilder
- Specified by:
timeout
in interfaceQueryExecMod
-
initialTimeout
- Specified by:
initialTimeout
in interfaceQueryExecMod
-
overallTimeout
- Specified by:
overallTimeout
in interfaceQueryExecMod
-
build
Description copied from interface:QueryExecBuilder
- Specified by:
build
in interfaceQueryExecBuilder
- Specified by:
build
in interfaceQueryExecMod
-