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

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

public class DatasetChangesCounter
extends Object
implements DatasetChanges

Count changes, or simply note if a change has been made.


Constructor Summary
DatasetChangesCounter()
           
 
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
 boolean hasChanged()
           
 void reset()
           
 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
 

Constructor Detail

DatasetChangesCounter

public DatasetChangesCounter()
Method Detail

start

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

Specified by:
start 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

finish

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

Specified by:
finish in interface DatasetChanges

hasChanged

public boolean hasChanged()

reset

public void reset()


Licenced under the Apache License, Version 2.0