|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jrdf.graph.local.index.graphhandler.AbstractGraphHandler org.jrdf.graph.local.index.graphhandler.GraphHandler201
public class GraphHandler201
Handles operations on 201 index.
Field Summary |
---|
Fields inherited from class org.jrdf.graph.local.index.graphhandler.AbstractGraphHandler |
---|
nodePool |
Constructor Summary | |
---|---|
GraphHandler201(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 GraphHandler201(LongIndex[] indexes, NodePool nodePool)
Method Detail |
---|
public Map<Long,Set<Long>> getSubIndex(Long first)
GraphHandler
getSubIndex
in interface GraphHandler
first
- the entry set to find.
public boolean removeSubIndex(Long first)
GraphHandler
removeSubIndex
in interface GraphHandler
first
- the entry set to remove.
public Iterator<Map.Entry<Long,Map<Long,Set<Long>>>> getEntries()
GraphHandler
getEntries
in interface GraphHandler
public Triple createTriple(Long... nodes)
GraphHandler
createTriple
in interface GraphHandler
nodes
- an array of three triple values to create.
public void remove(Long... currentNodes) throws GraphException
GraphHandler
remove
in interface GraphHandler
currentNodes
- 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 |