public class DatasetChangesCapture extends Object implements DatasetChanges
Constructor and Description |
---|
DatasetChangesCapture()
Capture quad actions, excluding no-ops
|
DatasetChangesCapture(boolean recordNoOps)
Capture quad actions, either including or excluding the "no ops"
|
DatasetChangesCapture(boolean captureAdd,
boolean captureDelete,
boolean captureNoAdd,
boolean captureNoDelete)
Capture quad actions, selectively by category
|
Modifier and Type | Method and Description |
---|---|
void |
change(QuadAction qaction,
Node g,
Node s,
Node p,
Node o)
A change has occurred
|
void |
finish()
Indicator that a sequence of changes has now finished
|
List<Pair<QuadAction,Quad>> |
getActions() |
void |
start()
Indicator that a sequence of changes is about to start
|
public DatasetChangesCapture()
public DatasetChangesCapture(boolean recordNoOps)
recordNoOps
- Whether to record QuadAction.NO_ADD and QuadAction.NO_DELETEpublic DatasetChangesCapture(boolean captureAdd, boolean captureDelete, boolean captureNoAdd, boolean captureNoDelete)
public List<Pair<QuadAction,Quad>> getActions()
public void start()
DatasetChanges
start
in interface DatasetChanges
public void change(QuadAction qaction, Node g, Node s, Node p, Node o)
DatasetChanges
change
in interface DatasetChanges
QuadAction
public void finish()
DatasetChanges
finish
in interface DatasetChanges
Licenced under the Apache License, Version 2.0