Class GraphChanges

java.lang.Object
org.apache.jena.sparql.graph.GraphWrapper
org.apache.jena.rdfpatch.system.GraphChanges
All Implemented Interfaces:
Graph
Direct Known Subclasses:
GraphRealChanges

public class GraphChanges extends GraphWrapper
Connect a Graph with RDFChanges. All operations on the Graph that cause changes have the change sent to the RDFChanges.

Use GraphRealChanges to get a graph that logs only changes that have a real effect - that makes the changes log reversible (play delete for each add) to undo a sequence of changes.

The graph name is settable; it is arbitrary, or null, and not deduced from the graph.

If the graph is a graph from a dataset and the same graph name is to be used, then instead of this class, get a graph from DatasetGraphChanges.

See Also: