|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jrdf.graph.local.index.graphhandler.AbstractGraphHandler
org.jrdf.graph.local.index.graphhandler.GraphHandler120
public class GraphHandler120
Handles operations on 120 index.
| Field Summary |
|---|
| Fields inherited from class org.jrdf.graph.local.index.graphhandler.AbstractGraphHandler |
|---|
nodePool |
| Constructor Summary | |
|---|---|
GraphHandler120(LongIndex[] indexes,
NodePool nodePool)
|
|
| Method Summary | |
|---|---|
Triple |
createTriple(Long... nodes)
Creates the globalized nodes based on the internal representation of the nodes. |
Iterator<Map.Entry<Long,Map<Long,Set<Long>>>> |
getEntries()
Returns an iterator over an internal representation of the graph in the fixed order based on the underlying index. |
Map<Long,Set<Long>> |
getSubIndex(Long first)
Returns the map of long to set of longs for the given entry of the index. |
void |
remove(Long... currentNodes)
Removes a triple from the other indexes of the graph. |
boolean |
removeSubIndex(Long first)
Removes the given entry of long to set of longs with the given entry. |
| Methods inherited from class org.jrdf.graph.local.index.graphhandler.AbstractGraphHandler |
|---|
dumpIndex, reconstructIndices |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jrdf.graph.local.index.graphhandler.GraphHandler |
|---|
reconstructIndices |
| Constructor Detail |
|---|
public GraphHandler120(LongIndex[] indexes,
NodePool nodePool)
| Method Detail |
|---|
public Map<Long,Set<Long>> getSubIndex(Long first)
GraphHandler
getSubIndex in interface GraphHandlerfirst - the entry set to find.
public boolean removeSubIndex(Long first)
GraphHandler
removeSubIndex in interface GraphHandlerfirst - the entry set to remove.
public Iterator<Map.Entry<Long,Map<Long,Set<Long>>>> getEntries()
GraphHandler
getEntries in interface GraphHandlerpublic Triple createTriple(Long... nodes)
GraphHandler
createTriple in interface GraphHandlernodes - an array of three triple values to create.
public void remove(Long... currentNodes)
throws GraphException
GraphHandler
remove in interface GraphHandlercurrentNodes - the array of nodes to remove.
GraphException - if the nodes do not exist.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||