Class DatasetGraphChanges

java.lang.Object
org.apache.jena.sparql.core.DatasetGraphWrapper
org.apache.jena.rdfpatch.system.DatasetGraphChanges
All Implemented Interfaces:
org.apache.jena.atlas.lib.Closeable, org.apache.jena.atlas.lib.Sync, DatasetGraph, Transactional

public class DatasetGraphChanges extends DatasetGraphWrapper
Connect a DatasetGraph with RDFChanges. All operations on the DatasetGraph that cause changes have the change sent to the RDFChanges.

Optionally, a sync handler can be given that is called on sync() or begin. This class is stateless so updating the wrapped dataset is possible via the sync handler.

Synchronization can also be performed externally on the wrapped dataset.

Use DatasetGraphRealChanges to get a dataset 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.

See Also: