- All Superinterfaces:
QueryExecMod
- All Known Implementing Classes:
QueryExecBuilderAdapter,QueryExecDatasetBuilder,QueryExecHTTPBuilder
The common elements of a
QueryExec builder.-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanask()Build and execute as an ASK query.build()Build theQueryExec.default GraphBuild and execute as a CONSTRUCT query.Set the context.default Graphdescribe()Build and execute as a CONSTRUCT query.Set the query.Set the query.Set the query.default RowSetselect()Build and execute as a SELECT query.Set a context entry.Set a context entry.default QueryExecBuildersubstitution(String var, Node value) Provide a (var name, Node) for substitution in the query when QueryExec is built.substitution(Var var, 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 interface org.apache.jena.sparql.exec.QueryExecMod
getContext, initialTimeout, overallTimeout, timeout
-
Method Details
-
query
Set the query. -
query
Set the query. -
query
Set the query. -
set
Set a context entry. -
set
Set a context entry. -
context
Set the context. If not set, defaults to the system context (ARQ.getContext()). -
substitution
Provide a set of (Var, Node) for substitution in the query when QueryExec is built. -
substitution
Provide a (Var, Node) for substitution in the query when QueryExec is built. -
substitution
Provide a (var name, Node) for substitution in the query when QueryExec is built. -
timeout
Set the overall query execution timeout.- Specified by:
timeoutin interfaceQueryExecMod
-
build
QueryExec build()- Specified by:
buildin interfaceQueryExecMod
-
select
Build and execute as a SELECT query. -
construct
Build and execute as a CONSTRUCT query. -
describe
Build and execute as a CONSTRUCT query. -
ask
default boolean ask()Build and execute as an ASK query.
-