java.lang.Object
org.apache.jena.query.QueryExecutionDatasetBuilder
- All Implemented Interfaces:
QueryExecutionBuilder
Query Execution for local datasets - builder style.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbindingToMap
(Binding binding) Binding as a Mapbuild()
static QueryExecutionDatasetBuilder
create()
Create a new builder ofQueryExecution
for a local dataset.initialBinding
(QuerySolution querySolution) Prefersubstitution(QuerySolution)
which substitutes variables for values in the the query before execution.initialBinding
(Binding binding) Deprecated, for removal: This API element is subject to removal in a future version.initialTimeout
(long value, TimeUnit timeUnit) The time-to-first result timeout.model
(org.apache.jena.rdf.model.Model model) overallTimeout
(long value, TimeUnit timeUnit) The overall, start-to-finish timeout, to go with an initial timeout.parseCheck
(boolean parseCheck) Hint whether to immediately parse query strings passed toQueryExecutionBuilder.query(String)
substitution
(String varName, org.apache.jena.rdf.model.RDFNode value) substitution
(QuerySolution querySolution) substitution
(Binding binding)
-
Constructor Details
-
QueryExecutionDatasetBuilder
public QueryExecutionDatasetBuilder()
-
-
Method Details
-
create
Create a new builder ofQueryExecution
for a local dataset. -
query
- Specified by:
query
in interfaceQueryExecutionBuilder
-
query
- Specified by:
query
in interfaceQueryExecutionBuilder
-
query
- Specified by:
query
in interfaceQueryExecutionBuilder
-
parseCheck
Description copied from interface:QueryExecutionBuilder
Hint whether to immediately parse query strings passed toQueryExecutionBuilder.query(String)
- Specified by:
parseCheck
in interfaceQueryExecutionBuilder
-
dataset
-
model
-
set
- Specified by:
set
in interfaceQueryExecutionBuilder
-
set
- Specified by:
set
in interfaceQueryExecutionBuilder
-
context
- Specified by:
context
in interfaceQueryExecutionBuilder
-
initialBinding
Deprecated, for removal: This API element is subject to removal in a future version.Prefersubstitution(Binding)
which substitutes variables for values in the the query before execution. -
initialBinding
Prefersubstitution(QuerySolution)
which substitutes variables for values in the the query before execution. -
substitution
- Specified by:
substitution
in interfaceQueryExecutionBuilder
-
substitution
-
substitution
public QueryExecutionDatasetBuilder substitution(String varName, org.apache.jena.rdf.model.RDFNode value) - Specified by:
substitution
in interfaceQueryExecutionBuilder
-
timeout
- Specified by:
timeout
in interfaceQueryExecutionBuilder
-
initialTimeout
The time-to-first result timeout. -
overallTimeout
The overall, start-to-finish timeout, to go with an initial timeout. -
build
- Specified by:
build
in interfaceQueryExecutionBuilder
-
bindingToMap
Binding as a Map
-
substitution(Binding)
which substitutes variables for values in the the query before execution.