de.fuberlin.wiwiss.d2rq.fastpath
Class ApplyTripleMakerRowIterator
java.lang.Object
de.fuberlin.wiwiss.d2rq.fastpath.ApplyTripleMakerRowIterator
- All Implemented Interfaces:
- ClosableIterator, Iterator
public class ApplyTripleMakerRowIterator
- extends Object
- implements ClosableIterator
Iterates over the ResultRow
s from one SQL query and transforms them into
triples. Has a collection of TripleMakers. Each TripleMaker is applied to
each row in the result set. This produces an array of triples for each result
row. The class is an iterator over these triple arrays.
- Version:
- $Id: ApplyTripleMakerRowIterator.java,v 1.1 2006/09/18 16:59:26 cyganiak Exp $
- Author:
- jgarbers
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplyTripleMakerRowIterator
public ApplyTripleMakerRowIterator(ClosableIterator sqlIterator,
TripleMaker[] tripleMakers)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator
nextRow
public Triple[] nextRow()
next
public Object next()
- Specified by:
next
in interface Iterator
close
public void close()
- Specified by:
close
in interface ClosableIterator
remove
public void remove()
- Specified by:
remove
in interface Iterator