|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hp.hpl.jena.graph.impl.GraphBase
com.hp.hpl.jena.graph.compose.CompositionBase
com.hp.hpl.jena.graph.compose.Dyadic
com.hp.hpl.jena.graph.compose.Delta
public class Delta
Graph operation for wrapping a base graph and leaving it unchanged while recording all the attempted updates for later access.
TODO review in the light of GraphWrapper
Field Summary |
---|
Fields inherited from interface com.hp.hpl.jena.graph.Graph |
---|
emptyGraph |
Constructor Summary | |
---|---|
Delta(Graph base)
|
Method Summary | |
---|---|
void |
close()
Close this graph. |
Graph |
getAdditions()
Answer the graph of all triples added |
Graph |
getDeletions()
Answer the graph of all triples removed |
ExtendedIterator |
graphBaseFind(TripleMatch tm)
Find all the base triples matching tm, exclude the ones that are deleted, add the ones that have been added. |
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. |
Methods inherited from class com.hp.hpl.jena.graph.compose.Dyadic |
---|
dependsOn, getL, getR, union |
Methods inherited from class com.hp.hpl.jena.graph.compose.CompositionBase |
---|
butNot, countIterator, ifIn, ifIn, recording, reject, rejecting, rejecting |
Methods inherited from class com.hp.hpl.jena.graph.impl.GraphBase |
---|
add, contains, contains, delete, find, find, getBulkUpdateHandler, getCapabilities, getEventManager, getPrefixMapping, getReifier, getTransactionHandler, isEmpty, isIsomorphicWith, notifyAdd, notifyDelete, queryHandler, size, toString, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.hp.hpl.jena.graph.Graph |
---|
contains, contains, delete, dependsOn, find, find, getBulkUpdateHandler, getCapabilities, getEventManager, getPrefixMapping, getReifier, getTransactionHandler, isEmpty, isIsomorphicWith, queryHandler, size |
Methods inherited from interface com.hp.hpl.jena.graph.GraphAdd |
---|
add |
Constructor Detail |
---|
public Delta(Graph base)
Method Detail |
---|
public Graph getAdditions()
public Graph getDeletions()
public void performAdd(Triple t)
performAdd
in interface com.hp.hpl.jena.graph.impl.GraphWithPerform
performAdd
in class com.hp.hpl.jena.graph.impl.GraphBase
public void performDelete(Triple t)
performDelete
in interface com.hp.hpl.jena.graph.impl.GraphWithPerform
performDelete
in class com.hp.hpl.jena.graph.impl.GraphBase
public ExtendedIterator graphBaseFind(TripleMatch tm)
graphBaseFind
in class com.hp.hpl.jena.graph.impl.GraphBase
public void close()
com.hp.hpl.jena.graph.impl.GraphBase
close
in interface Graph
close
in class Dyadic
public int graphBaseSize()
CompositionBase
Answer the number of triples in this graph
graphBaseSize
in class CompositionBase
Graph.size()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |