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()
The actions recorded.
|
void |
reset()
Release any resources
|
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()
start call.public void start()
DatasetChangesstart in interface DatasetChangespublic void change(QuadAction qaction, Node g, Node s, Node p, Node o)
DatasetChangeschange in interface DatasetChangesQuadActionpublic void finish()
DatasetChangesfinish in interface DatasetChangespublic void reset()
DatasetChangesreset in interface DatasetChangesLicenced under the Apache License, Version 2.0