Class LoggingTupleQuery
java.lang.Object
org.eclipse.rdf4j.spring.support.query.DelegatingTupleQuery
org.eclipse.rdf4j.spring.operationlog.LoggingTupleQuery
- All Implemented Interfaces:
Operation, Query, TupleQuery
- Since:
- 4.0.0
- Author:
- Florian Kleedorfer
-
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. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class DelegatingTupleQuery
clearBindings, explain, getBindings, getDataset, getDelegate, getIncludeInferred, getMaxExecutionTime, getMaxQueryTime, removeBinding, setBinding, setDataset, setIncludeInferred, setMaxExecutionTime, setMaxQueryTime, toStringModifier and TypeMethodDescriptionvoidRemoves all previously set bindings.explain(Explanation.Level level) Explain how the query will be (or has been) executed/evaluated by returning an explanation of the query plan.Retrieves the bindings that have been set on this operation.Gets the dataset that has been set usingOperation.setDataset(Dataset), if any.protected TupleQuerybooleanReturns whether or not this operation will return inferred statements (if any are present in the repository).intReturns the maximum operation execution time.intDeprecated.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.voidsetMaxQueryTime(int maxQueryTime) Deprecated.toString()
-
Constructor Details
-
LoggingTupleQuery
-
-
Method Details
-
evaluate
- Specified by:
evaluatein interfaceTupleQuery- Overrides:
evaluatein classDelegatingTupleQuery- Throws:
QueryEvaluationException
-
evaluate
public void evaluate(TupleQueryResultHandler handler) throws QueryEvaluationException, TupleQueryResultHandlerException - Specified by:
evaluatein interfaceTupleQuery- Overrides:
evaluatein classDelegatingTupleQuery- Throws:
QueryEvaluationExceptionTupleQueryResultHandlerException
-