java.lang.Object
org.apache.jena.query.text.changes.ChangesBatched
- All Implemented Interfaces:
TextDatasetChanges
- Direct Known Subclasses:
TextDocProducerEntities
Collect a stream of DatasetChanges into batches. A batch is adjacent quads
changes with (same graph, same subject, same action).
-
Method Summary
Modifier and TypeMethodDescriptionvoid
change
(TextQuadAction qaction, org.apache.jena.graph.Node g, org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o) A change has occurredfinal void
finish()
Indicator that a sequence of changes has now finishedfinal void
reset()
Release any resourcesfinal void
start()
Indicator that a sequence of changes is about to start
-
Method Details
-
start
public final void start()Description copied from interface:TextDatasetChanges
Indicator that a sequence of changes is about to start- Specified by:
start
in interfaceTextDatasetChanges
-
finish
public final void finish()Description copied from interface:TextDatasetChanges
Indicator that a sequence of changes has now finished- Specified by:
finish
in interfaceTextDatasetChanges
-
reset
public final void reset()Description copied from interface:TextDatasetChanges
Release any resources- Specified by:
reset
in interfaceTextDatasetChanges
-
change
public void change(TextQuadAction qaction, org.apache.jena.graph.Node g, org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o) Description copied from interface:TextDatasetChanges
A change has occurred- Specified by:
change
in interfaceTextDatasetChanges
- See Also:
-