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 TypeMethodDescriptionvoidchange(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 voidfinish()Indicator that a sequence of changes has now finishedfinal voidreset()Release any resourcesfinal voidstart()Indicator that a sequence of changes is about to start
-
Method Details
-
start
public final void start()Description copied from interface:TextDatasetChangesIndicator that a sequence of changes is about to start- Specified by:
startin interfaceTextDatasetChanges
-
finish
public final void finish()Description copied from interface:TextDatasetChangesIndicator that a sequence of changes has now finished- Specified by:
finishin interfaceTextDatasetChanges
-
reset
public final void reset()Description copied from interface:TextDatasetChangesRelease any resources- Specified by:
resetin 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:TextDatasetChangesA change has occurred- Specified by:
changein interfaceTextDatasetChanges- See Also:
-