public class Delta extends CompositionBase implements Graph
TOSTRING_TRIPLE_BASE, TOSTRING_TRIPLE_LIMITemptyGraph| 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, rejectingadd, clear, contains, contains, delete, dependsOn, find, find, forTestingOnly_graphBaseFind, getEventManager, getPrefixMapping, getStatisticsHandler, getTransactionHandler, isClosed, isEmpty, isIsomorphicWith, notifyAdd, notifyDelete, remove, size, toString, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitadd, clear, contains, contains, delete, dependsOn, find, find, find, getEventManager, getPrefixMapping, getStatisticsHandler, getTransactionHandler, isClosed, isEmpty, isIsomorphicWith, remove, sizepublic Delta(Graph base)
public Capabilities getCapabilities()
GraphBasegetCapabilities in interface GraphgetCapabilities in class GraphBasepublic Graph getAdditions()
public Graph getDeletions()
public void performAdd(Triple t)
performAdd in interface GraphWithPerformperformAdd in class GraphBasepublic void performDelete(Triple t)
performDelete in interface GraphWithPerformperformDelete in class GraphBasepublic void close()
GraphBasepublic int graphBaseSize()
GraphBaseLicenced under the Apache License, Version 2.0