Class ChangesBatched
- java.lang.Object
-
- org.apache.jena.query.text.changes.ChangesBatched
-
- All Implemented Interfaces:
TextDatasetChanges
- Direct Known Subclasses:
TextDocProducerEntities
public abstract class ChangesBatched extends java.lang.Object implements TextDatasetChanges
Collect a stream of DatasetChanges into batches. A batch is adjacent quads changes with (same graph, same subject, same action).
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidchange(TextQuadAction qaction, Node g, Node s, Node p, Node o)A change has occurredvoidfinish()Indicator that a sequence of changes has now finishedvoidreset()Release any resourcesvoidstart()Indicator that a sequence of changes is about to start
-
-
-
Method Detail
-
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, Node g, Node s, Node p, Node o)
Description copied from interface:TextDatasetChangesA change has occurred- Specified by:
changein interfaceTextDatasetChanges- See Also:
TextQuadAction
-
-