Class SailBooleanQuery
java.lang.Object
org.eclipse.rdf4j.query.impl.AbstractOperation
org.eclipse.rdf4j.query.impl.AbstractQuery
org.eclipse.rdf4j.query.impl.AbstractParserQuery
org.eclipse.rdf4j.repository.sail.SailQuery
org.eclipse.rdf4j.repository.sail.SailBooleanQuery
- All Implemented Interfaces:
BooleanQuery, Operation, Query
- Direct Known Subclasses:
FedXBooleanQuery
- Author:
- Arjohn Kampman
-
Nested Class Summary
Nested classes/interfaces inherited from interface Query
Query.QueryTypeModifier and TypeInterfaceDescriptionstatic enumThe different types of queries that RDF4J recognizes: boolean queries, graph queries, and tuple queries. -
Field Summary
Fields inherited from class AbstractParserQuery
DEFAULT_EXPLANATION_EXECUTION_TIMEOUTModifier and TypeFieldDescriptionprotected static final intFields inherited from class AbstractOperation
bindings, dataset, includeInferredModifier and TypeFieldDescriptionprotected final MapBindingSetprotected Datasetprotected boolean -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSailBooleanQuery(ParsedBooleanQuery tupleQuery, SailRepositoryConnection sailConnection) -
Method Summary
Methods inherited from class SailQuery
explain, getConnectionModifier and TypeMethodDescriptionexplain(Explanation.Level level) Explain how the query will be (or has been) executed/evaluated by returning an explanation of the query plan.protected SailRepositoryConnectionMethods inherited from class AbstractParserQuery
enforceMaxQueryTime, equals, getActiveDataset, hashCode, toStringModifier and TypeMethodDescriptionprotected CloseableIteration<? extends BindingSet> enforceMaxQueryTime(CloseableIteration<? extends BindingSet> bindingsIter) booleanGets the "active" dataset for this query.inthashCode()toString()Methods inherited from class AbstractQuery
getMaxQueryTime, setMaxQueryTimeModifier and TypeMethodDescriptionintDeprecated.voidsetMaxQueryTime(int maxQueryTimeSeconds) Deprecated.Methods inherited from class AbstractOperation
clearBindings, getBindings, getDataset, getIncludeInferred, getMaxExecutionTime, removeBinding, setBinding, setDataset, setIncludeInferred, setMaxExecutionTimeModifier and TypeMethodDescriptionvoidRemoves all previously set bindings.Retrieves the bindings that have been set on this operation.Gets the dataset that has been set usingOperation.setDataset(Dataset), if any.booleanReturns whether or not this operation will return inferred statements (if any are present in the repository).intReturns the maximum operation execution time.voidremoveBinding(String name) Removes a previously set binding on the supplied variable.voidsetBinding(String name, Value value) Binds the specified variable to the supplied value.voidsetDataset(Dataset dataset) Specifies the dataset against which to execute an operation, overriding any dataset that is specified in the operation itself.voidsetIncludeInferred(boolean includeInferred) Determine whether evaluation results of this operation should include inferred statements (if any inferred statements are present in the repository).voidsetMaxExecutionTime(int maxExecutionTimeSeconds) Specifies the maximum time that an operation is allowed to run.
-
Constructor Details
-
SailBooleanQuery
-
-
Method Details
-
getParsedQuery
- Overrides:
getParsedQueryin classAbstractParserQuery
-
evaluate
- Specified by:
evaluatein interfaceBooleanQuery- Throws:
QueryEvaluationException
-