org.jrdf.graph.local
Class WritableGraphImpl

java.lang.Object
  extended by org.jrdf.graph.local.WritableGraphImpl
All Implemented Interfaces:
WritableGraph

public class WritableGraphImpl
extends Object
implements WritableGraph


Constructor Summary
WritableGraphImpl(LongIndex[] newLongIndexes, NodePool newNodePool, Localizer newLocalizer)
           
 
Method Summary
 void clear()
           
 void localizeAndAdd(SubjectNode subject, PredicateNode predicate, ObjectNode object)
           
 void localizeAndRemove(SubjectNode subject, PredicateNode predicate, ObjectNode object)
           
 void removeIterator(Iterator<Triple> triples)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WritableGraphImpl

public WritableGraphImpl(LongIndex[] newLongIndexes,
                         NodePool newNodePool,
                         Localizer newLocalizer)
Method Detail

localizeAndRemove

public void localizeAndRemove(SubjectNode subject,
                              PredicateNode predicate,
                              ObjectNode object)
                       throws GraphException
Specified by:
localizeAndRemove in interface WritableGraph
Throws:
GraphException

removeIterator

public void removeIterator(Iterator<Triple> triples)
                    throws GraphException
Specified by:
removeIterator in interface WritableGraph
Throws:
GraphException

localizeAndAdd

public void localizeAndAdd(SubjectNode subject,
                           PredicateNode predicate,
                           ObjectNode object)
                    throws GraphException
Specified by:
localizeAndAdd in interface WritableGraph
Throws:
GraphException

clear

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