Class ResultCachingTupleQuery
java.lang.Object
org.eclipse.rdf4j.spring.support.query.DelegatingTupleQuery
org.eclipse.rdf4j.spring.resultcache.ResultCachingTupleQuery
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.rdf4j.query.Query
Query.QueryType
-
Constructor Summary
ConstructorDescriptionResultCachingTupleQuery
(TupleQuery delegate, ResultCache<Integer, ReusableTupleQueryResult> localResultCache, ResultCache<Integer, ReusableTupleQueryResult> globalResultCache, ResultCacheProperties properties) -
Method Summary
Modifier and TypeMethodDescriptionevaluate()
void
evaluate
(TupleQueryResultHandler handler) void
renewLocalResultCache
(ResultCache<Integer, ReusableTupleQueryResult> localResultCache) Methods inherited from class org.eclipse.rdf4j.spring.support.query.DelegatingTupleQuery
clearBindings, explain, getBindings, getDataset, getDelegate, getIncludeInferred, getMaxExecutionTime, getMaxQueryTime, removeBinding, setBinding, setDataset, setIncludeInferred, setMaxExecutionTime, setMaxQueryTime, toString
-
Constructor Details
-
ResultCachingTupleQuery
public ResultCachingTupleQuery(TupleQuery delegate, ResultCache<Integer, ReusableTupleQueryResult> localResultCache, ResultCache<Integer, ReusableTupleQueryResult> globalResultCache, ResultCacheProperties properties)
-
-
Method Details
-
renewLocalResultCache
-
evaluate
- Specified by:
evaluate
in interfaceTupleQuery
- Overrides:
evaluate
in classDelegatingTupleQuery
- Throws:
QueryEvaluationException
-
evaluate
public void evaluate(TupleQueryResultHandler handler) throws QueryEvaluationException, TupleQueryResultHandlerException - Specified by:
evaluate
in interfaceTupleQuery
- Overrides:
evaluate
in classDelegatingTupleQuery
- Throws:
QueryEvaluationException
TupleQueryResultHandlerException
-