Package org.eclipse.rdf4j.query.impl
Class AbstractParserQuery
java.lang.Object
org.eclipse.rdf4j.query.impl.AbstractOperation
org.eclipse.rdf4j.query.impl.AbstractQuery
org.eclipse.rdf4j.query.impl.AbstractParserQuery
- Direct Known Subclasses:
SailQuery
- Author:
- Arjohn Kampman
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.rdf4j.query.Query
Query.QueryType
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final int
Fields inherited from class org.eclipse.rdf4j.query.impl.AbstractOperation
bindings, dataset, includeInferred
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected CloseableIteration<? extends BindingSet,
QueryEvaluationException> enforceMaxQueryTime
(CloseableIteration<? extends BindingSet, QueryEvaluationException> bindingsIter) Gets the "active" dataset for this query.toString()
Methods inherited from class org.eclipse.rdf4j.query.impl.AbstractQuery
getMaxQueryTime, setMaxQueryTime
Methods inherited from class org.eclipse.rdf4j.query.impl.AbstractOperation
clearBindings, getBindings, getDataset, getIncludeInferred, getMaxExecutionTime, removeBinding, setBinding, setDataset, setIncludeInferred, setMaxExecutionTime
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.rdf4j.query.Operation
clearBindings, getBindings, getDataset, getIncludeInferred, getMaxExecutionTime, removeBinding, setBinding, setDataset, setIncludeInferred, setMaxExecutionTime
-
Field Details
-
DEFAULT_EXPLANATION_EXECUTION_TIMEOUT
protected static final int DEFAULT_EXPLANATION_EXECUTION_TIMEOUT- See Also:
-
-
Constructor Details
-
AbstractParserQuery
-
-
Method Details
-
getParsedQuery
-
enforceMaxQueryTime
protected CloseableIteration<? extends BindingSet,QueryEvaluationException> enforceMaxQueryTime(CloseableIteration<? extends BindingSet, QueryEvaluationException> bindingsIter) -
getActiveDataset
Gets the "active" dataset for this query. The active dataset is either the dataset that has been specified usingAbstractOperation.setDataset(Dataset)
or the dataset that has been specified in the query, where the former takes precedence over the latter.- Returns:
- The active dataset, or null if there is no dataset.
-
toString
-