Graph operation for wrapping a base graph and leaving it unchanged while recording all the attempted updates for later access. The behavior of this class is not well defined if triples are added to or removed from the base graph, the additions graph, or the deletions graph while this graph is in use.
Fields inherited from class org.apache.jena.graph.impl.GraphBase
Method SummaryModifier and TypeMethodDescription
close()Close this graph.Answer the graph of all triples added.returns this Graph's capabilitiesAnswer the graph of all triples removed.
voidAdd the triple to the graph, ie add it to the additions, remove it from the removals.
voidRemove the triple, ie, remove it from the adds, add it to the removals.
Methods inherited from class org.apache.jena.graph.compose.CompositionBase
butNot, ifIn, ifIn, recording, reject, rejecting, rejecting
Methods inherited from class org.apache.jena.graph.impl.GraphBase
add, clear, contains, contains, delete, dependsOn, find, find, forTestingOnly_graphBaseFind, getEventManager, getPrefixMapping, getTransactionHandler, isClosed, isEmpty, isIsomorphicWith, notifyAdd, notifyDelete, remove, size, toString, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCapabilitiespublic Capabilities getCapabilities()Description copied from interface:
Graphreturns this Graph's capabilities
getAdditionspublic Graph getAdditions()Answer the graph of all triples added.
getDeletionspublic Graph getDeletions()Answer the graph of all triples removed.
performAddpublic void performAdd
(Triple t)Add the triple to the graph, ie add it to the additions, remove it from the removals.
performDeletepublic void performDelete
(Triple t)Remove the triple, ie, remove it from the adds, add it to the removals.
closepublic void close()Description copied from class:
GraphBaseClose this graph. Subgraphs may extend to discard resources.
graphBaseSizepublic int graphBaseSize()