com.hp.hpl.jena.sparql.core
Class DatasetChangesBatched

java.lang.Object
  extended by com.hp.hpl.jena.sparql.core.DatasetChangesBatched
All Implemented Interfaces:
DatasetChanges

public abstract class DatasetChangesBatched
extends Object
implements DatasetChanges

Collect a stream of DatasetChanges into batches. A batch is adjacent quads changes with (same graph, same subject, same action).


Method Summary
 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
 void start()
          Indicator that a sequence of changes is about to start
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

start

public final void start()
Description copied from interface: DatasetChanges
Indicator that a sequence of changes is about to start

Specified by:
start in interface DatasetChanges

finish

public final void finish()
Description copied from interface: DatasetChanges
Indicator that a sequence of changes has now finished

Specified by:
finish in interface DatasetChanges

change

public void change(QuadAction qaction,
                   Node g,
                   Node s,
                   Node p,
                   Node o)
Description copied from interface: DatasetChanges
A change has occurred

Specified by:
change in interface DatasetChanges
See Also:
QuadAction


Licenced under the Apache License, Version 2.0