public class Delta extends CompositionBase implements Graph
TOSTRING_TRIPLE_BASE, TOSTRING_TRIPLE_LIMIT
emptyGraph
Modifier and Type | Method and Description |
---|---|
void |
close()
Close this graph.
|
Graph |
getAdditions()
Answer the graph of all triples added.
|
Graph |
getDeletions()
Answer the graph of all triples removed.
|
int |
graphBaseSize()
Answer the number of triples in this graph.
|
void |
performAdd(Triple t)
Add the triple to the graph, ie add it to the additions, remove it from
the removals.
|
void |
performDelete(Triple t)
Remove the triple, ie, remove it from the adds, add it to the removals.
|
butNot, ifIn, ifIn, recording, reject, rejecting, rejecting
add, clear, contains, contains, delete, dependsOn, find, find, forTestingOnly_graphBaseFind, getCapabilities, getEventManager, getPrefixMapping, getStatisticsHandler, getTransactionHandler, isClosed, isEmpty, isIsomorphicWith, notifyAdd, notifyDelete, remove, size, toString, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
add, clear, contains, contains, delete, dependsOn, find, find, getCapabilities, getEventManager, getPrefixMapping, getStatisticsHandler, getTransactionHandler, isClosed, isEmpty, isIsomorphicWith, remove, size
public Delta(Graph base)
public Graph getAdditions()
public Graph getDeletions()
public void performAdd(Triple t)
performAdd
in interface GraphWithPerform
performAdd
in class GraphBase
public void performDelete(Triple t)
performDelete
in interface GraphWithPerform
performDelete
in class GraphBase
public void close()
GraphBase
public int graphBaseSize()
GraphBase
Licenced under the Apache License, Version 2.0