Package org.apache.jena.query
Class QueryExecutionDatasetBuilder
- java.lang.Object
-
- org.apache.jena.query.QueryExecutionDatasetBuilder
-
- All Implemented Interfaces:
QueryExecutionBuilder
public class QueryExecutionDatasetBuilder extends java.lang.Object implements QueryExecutionBuilder
Query Execution for local datasets - builder style.
-
-
Constructor Summary
Constructors Constructor Description QueryExecutionDatasetBuilder()
-
Method Summary
-
-
-
Method Detail
-
create
public static QueryExecutionDatasetBuilder create()
Create a new builder ofQueryExecution
for a local dataset.
-
query
public QueryExecutionDatasetBuilder query(Query query)
- Specified by:
query
in interfaceQueryExecutionBuilder
-
query
public QueryExecutionDatasetBuilder query(java.lang.String queryString)
- Specified by:
query
in interfaceQueryExecutionBuilder
-
query
public QueryExecutionDatasetBuilder query(java.lang.String queryString, Syntax syntax)
- Specified by:
query
in interfaceQueryExecutionBuilder
-
dataset
@Deprecated public QueryExecutionDatasetBuilder dataset(DatasetGraph dsg)
Deprecated.
-
dataset
public QueryExecutionDatasetBuilder dataset(Dataset dataset)
-
model
public QueryExecutionDatasetBuilder model(Model model)
-
set
public QueryExecutionDatasetBuilder set(Symbol symbol, java.lang.Object value)
- Specified by:
set
in interfaceQueryExecutionBuilder
-
set
public QueryExecutionDatasetBuilder set(Symbol symbol, boolean value)
- Specified by:
set
in interfaceQueryExecutionBuilder
-
context
public QueryExecutionDatasetBuilder context(Context context)
- Specified by:
context
in interfaceQueryExecutionBuilder
-
initialBinding
public QueryExecutionDatasetBuilder initialBinding(Binding binding)
Prefersubstitution(Binding)
which substitutes variables for values in the the query before execution.
-
initialBinding
public QueryExecutionDatasetBuilder initialBinding(QuerySolution querySolution)
Prefersubstitution(QuerySolution)
which substitutes variables for values in the the query before execution.
-
substitution
public QueryExecutionDatasetBuilder substitution(QuerySolution querySolution)
- Specified by:
substitution
in interfaceQueryExecutionBuilder
-
substitution
public QueryExecutionDatasetBuilder substitution(Binding binding)
-
substitution
public QueryExecutionDatasetBuilder substitution(java.lang.String varName, RDFNode value)
- Specified by:
substitution
in interfaceQueryExecutionBuilder
-
timeout
public QueryExecutionDatasetBuilder timeout(long value, java.util.concurrent.TimeUnit timeUnit)
- Specified by:
timeout
in interfaceQueryExecutionBuilder
-
initialTimeout
public QueryExecutionDatasetBuilder initialTimeout(long value, java.util.concurrent.TimeUnit timeUnit)
The time-to-first result timeout.
-
overallTimeout
public QueryExecutionDatasetBuilder overallTimeout(long value, java.util.concurrent.TimeUnit timeUnit)
The overall, start-to-finish timeout, to go with an initial timeout.
-
build
public QueryExecution build()
- Specified by:
build
in interfaceQueryExecutionBuilder
-
-