Class ResultCachingGraphQuery
java.lang.Object
org.eclipse.rdf4j.spring.support.query.DelegatingGraphQuery
org.eclipse.rdf4j.spring.resultcache.ResultCachingGraphQuery
- All Implemented Interfaces:
GraphQuery
,Operation
,Query
- Since:
- 4.0.0
- Author:
- Florian Kleedorfer
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.rdf4j.query.Query
Query.QueryType
-
Constructor Summary
ConstructorDescriptionResultCachingGraphQuery
(GraphQuery delegate, ResultCache<Integer, ReusableGraphQueryResult> localResultCache, ResultCache<Integer, ReusableGraphQueryResult> globalResultCache, ResultCacheProperties properties) -
Method Summary
Modifier and TypeMethodDescriptionevaluate()
void
renewLocalResultCache
(ResultCache<Integer, ReusableGraphQueryResult> localGraphQueryResultCache) Methods inherited from class org.eclipse.rdf4j.spring.support.query.DelegatingGraphQuery
clearBindings, evaluate, explain, getBindings, getDataset, getDelegate, getIncludeInferred, getMaxExecutionTime, getMaxQueryTime, removeBinding, setBinding, setDataset, setIncludeInferred, setMaxExecutionTime, setMaxQueryTime, toString
-
Constructor Details
-
ResultCachingGraphQuery
public ResultCachingGraphQuery(GraphQuery delegate, ResultCache<Integer, ReusableGraphQueryResult> localResultCache, ResultCache<Integer, ReusableGraphQueryResult> globalResultCache, ResultCacheProperties properties)
-
-
Method Details
-
renewLocalResultCache
public void renewLocalResultCache(ResultCache<Integer, ReusableGraphQueryResult> localGraphQueryResultCache) -
evaluate
- Specified by:
evaluate
in interfaceGraphQuery
- Overrides:
evaluate
in classDelegatingGraphQuery
- Throws:
QueryEvaluationException
-