Package | Description |
---|---|
org.eclipse.rdf4j.federated.cache | |
org.eclipse.rdf4j.federated.evaluation | |
org.eclipse.rdf4j.federated.optimizer |
Modifier and Type | Class and Description |
---|---|
class |
SourceSelectionMemoryCache
An implementation of
SourceSelectionCache which uses an in memory Guava Cache as data structure to
maintain information. |
Modifier and Type | Method and Description |
---|---|
static List<StatementSource> |
CacheUtils.checkCacheForStatementSourcesUpdateCache(SourceSelectionCache cache,
List<Endpoint> endpoints,
Resource subj,
IRI pred,
Value obj,
QueryInfo queryInfo,
Resource... contexts)
Checks the cache for relevant statement sources to the provided statement.
|
static boolean |
CacheUtils.checkCacheUpdateCache(SourceSelectionCache cache,
List<Endpoint> endpoints,
Resource subj,
IRI pred,
Value obj,
QueryInfo queryInfo,
Resource... contexts)
Checks the cache if some endpoint can provide results to the subquery.
|
Modifier and Type | Field and Description |
---|---|
protected SourceSelectionCache |
FederationEvalStrategy.cache |
Modifier and Type | Method and Description |
---|---|
protected SourceSelectionCache |
FederationEvalStrategy.createSourceSelectionCache()
Create the
SourceSelectionCache |
Modifier and Type | Method and Description |
---|---|
protected Set<Endpoint> |
FederationEvalStrategy.performSourceSelection(List<Endpoint> members,
SourceSelectionCache cache,
QueryInfo queryInfo,
GenericInfoOptimizer info)
Perform source selection for all statements of the query.
|
Modifier and Type | Field and Description |
---|---|
protected SourceSelectionCache |
SourceSelection.cache |
Modifier and Type | Method and Description |
---|---|
static void |
SourceSelection.SourceSelectionExecutorWithLatch.run(SourceSelection sourceSelection,
List<SourceSelection.CheckTaskPair> tasks,
SourceSelectionCache cache)
Execute the given list of tasks in parallel, and block the thread until all tasks are completed.
|
Constructor and Description |
---|
SourceSelection(List<Endpoint> endpoints,
SourceSelectionCache cache,
QueryInfo queryInfo) |
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.