org.openrdf.elmo.smusher.listener
Class CounterListener
java.lang.Object
org.openrdf.elmo.smusher.listener.CounterListener
- All Implemented Interfaces:
- SmusherListener
public class CounterListener
- extends Object
- implements SmusherListener
A listener that counts the matches reported.
- Author:
- Peter Mika (pmika@cs.vu.nl)
|
Field Summary |
protected int |
_count
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_count
protected int _count
CounterListener
public CounterListener()
start
public void start()
- Specified by:
start in interface SmusherListener
matchFound
public void matchFound(Resource first,
Resource second)
- Specified by:
matchFound in interface SmusherListener
commit
public void commit()
- Specified by:
commit in interface SmusherListener
finish
public void finish()
- Specified by:
finish in interface SmusherListener
getCount
public int getCount()
reset
public void reset()
Copyright © 2004-2008 Aduna. All Rights Reserved.