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.
|
Capabilities |
getCapabilities()
Answer the capabilities of this graph; the default is an AllCapabilities object
(the same one each time, not that it matters - Capabilities should be
immutable).
|
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, 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, find, getEventManager, getPrefixMapping, getStatisticsHandler, getTransactionHandler, isClosed, isEmpty, isIsomorphicWith, remove, size
public Delta(Graph base)
public Capabilities getCapabilities()
GraphBase
getCapabilities
in interface Graph
getCapabilities
in class GraphBase
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