Class AbstractParserQuery
java.lang.Object
org.eclipse.rdf4j.query.impl.AbstractOperation
org.eclipse.rdf4j.query.impl.AbstractQuery
org.eclipse.rdf4j.query.parser.impl.AbstractParserQuery
- Direct Known Subclasses:
AbstractQueryPreparer.BooleanQueryImpl, AbstractQueryPreparer.GraphQueryImpl, AbstractQueryPreparer.TupleQueryImpl
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classDeprecated.Nested classes/interfaces inherited from interface Query
Query.QueryType -
Field Summary
FieldsFields inherited from class AbstractOperation
bindings, dataset, includeInferred -
Constructor Summary
Constructors -
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 AbstractQuery
getMaxQueryTime, setMaxQueryTimeMethods inherited from class AbstractOperation
clearBindings, getBindings, getDataset, getIncludeInferred, getMaxExecutionTime, removeBinding, setBinding, setDataset, setIncludeInferred, setMaxExecutionTimeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Operation
clearBindings, getBindings, getDataset, getIncludeInferred, getMaxExecutionTime, removeBinding, setBinding, setDataset, setIncludeInferred, setMaxExecutionTime
-
Field Details
-
parsedQuery
-
-
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
-