org.jrdf.graph.local.index.nodepool
Class NodeTypePoolImpl

java.lang.Object
  extended by org.jrdf.graph.local.index.nodepool.NodeTypePoolImpl
All Implemented Interfaces:
NodeTypePool

public class NodeTypePoolImpl
extends Object
implements NodeTypePool


Constructor Summary
NodeTypePoolImpl(MapFactory mapFactory, StringNodeMapper newMapper)
           
 
Method Summary
 void addNodeValues(NodePool nodePool, List<Map<Long,String>> values)
           
 void clear()
           
 Node get(Long nodeId)
           
 Map<Long,String> getBNodeValues()
           
 Map<Long,String> getLiteralNodeValues()
           
 Map<Long,String> getURINodeValues()
           
 void put(Long id, LocalizedNode node)
           
 String removeNode(Long nodeId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeTypePoolImpl

public NodeTypePoolImpl(MapFactory mapFactory,
                        StringNodeMapper newMapper)
Method Detail

get

public Node get(Long nodeId)
Specified by:
get in interface NodeTypePool

put

public void put(Long id,
                LocalizedNode node)
Specified by:
put in interface NodeTypePool

addNodeValues

public void addNodeValues(NodePool nodePool,
                          List<Map<Long,String>> values)
Specified by:
addNodeValues in interface NodeTypePool

removeNode

public String removeNode(Long nodeId)
Specified by:
removeNode in interface NodeTypePool

getBNodeValues

public Map<Long,String> getBNodeValues()
Specified by:
getBNodeValues in interface NodeTypePool

getURINodeValues

public Map<Long,String> getURINodeValues()
Specified by:
getURINodeValues in interface NodeTypePool

getLiteralNodeValues

public Map<Long,String> getLiteralNodeValues()
Specified by:
getLiteralNodeValues in interface NodeTypePool

clear

public void clear()
Specified by:
clear in interface NodeTypePool