|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ITripleCacheIndex
| Method Summary | |
|---|---|
void |
addSeen(Collection<com.hp.hpl.jena.graph.Triple> triples)
Addes triples to the cache. |
void |
clear()
|
IndexCompatibilityLevel |
getCompatibilityLevel(int[] columnIds)
|
IndexCompatibilityLevel |
getCompatibilityLevel(com.hp.hpl.jena.graph.Triple pattern)
Deprecated. |
IGraph |
getGraph()
|
int[] |
getKeyColumns()
Returns the "columns" that are indexed - columns correspond to 0 = subject, 1 = predicate, 2 = object |
CacheState |
getState()
|
int[] |
getValueColumns()
Returns the "columns" for which values are provided by this index |
void |
index(Collection<com.hp.hpl.jena.graph.Triple> triples)
Indexes the triples. |
Collection<com.hp.hpl.jena.graph.Triple> |
lookup(List<Object> key)
Retrieves and caches data for the given triple patterns. |
void |
registerMisses(Set<List<Object>> keys)
|
void |
removeSeen(Collection<com.hp.hpl.jena.graph.Triple> triples)
Methods which are used to notify the index about new triples |
| Method Detail |
|---|
IGraph getGraph()
void index(Collection<com.hp.hpl.jena.graph.Triple> triples)
triples - void registerMisses(Set<List<Object>> keys)
void addSeen(Collection<com.hp.hpl.jena.graph.Triple> triples)
triples - level - void removeSeen(Collection<com.hp.hpl.jena.graph.Triple> triples)
triples - @Deprecated IndexCompatibilityLevel getCompatibilityLevel(com.hp.hpl.jena.graph.Triple pattern)
triple -
IndexCompatibilityLevel getCompatibilityLevel(int[] columnIds)
int[] getKeyColumns()
int[] getValueColumns()
Collection<com.hp.hpl.jena.graph.Triple> lookup(List<Object> key)
triple -
void clear()
CacheState getState()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||