|
||||||||||
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.GraphHandler012
public class GraphHandler012
Handles operations on 012 index.
Field Summary |
---|
Fields inherited from class org.jrdf.graph.local.index.graphhandler.AbstractGraphHandler |
---|
nodePool |
Constructor Summary | |
---|---|
GraphHandler012(LongIndex[] indexes,
NodePool newNodePool)
|
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... nodes)
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 |
Constructor Detail |
---|
public GraphHandler012(LongIndex[] indexes, NodePool newNodePool)
Method Detail |
---|
public Map<Long,Set<Long>> getSubIndex(Long first)
GraphHandler
first
- the entry set to find.
public boolean removeSubIndex(Long first)
GraphHandler
first
- the entry set to remove.
public Iterator<Map.Entry<Long,Map<Long,Set<Long>>>> getEntries()
GraphHandler
public Triple createTriple(Long... nodes)
GraphHandler
nodes
- an array of three triple values to create.
public void remove(Long... nodes) throws GraphException
GraphHandler
nodes
- 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 |