org.aksw.commons.graph
Interface ICacheProvider
- All Known Implementing Classes:
- DefaultCacheProvider
public interface ICacheProvider
getGraph
IGraph getGraph()
bulkFind
Set<com.hp.hpl.jena.graph.Triple> bulkFind(Set<List<Object>> keys,
int[] indexColumns)
getIndexes
Collection<ITripleCacheIndex> getIndexes()
addSeen
void addSeen(Collection<com.hp.hpl.jena.graph.Triple> triples)
- Adds seen triples to the cache.
Partitions are updated accodingly.
The completeness state of partitions is left unaffected.
Do not call these methods directly - only the graph should do this.
- Parameters:
triples -
removeSeen
void removeSeen(Collection<com.hp.hpl.jena.graph.Triple> triples)
clear
void clear()
- Clears all caches
Copyright © 2012. All Rights Reserved.