de.fuberlin.wiwiss.d2rq.sql
Class ApplyTripleMakerIterator

java.lang.Object
  extended by de.fuberlin.wiwiss.d2rq.sql.ApplyTripleMakerIterator
All Implemented Interfaces:
com.hp.hpl.jena.util.iterator.ClosableIterator, Iterator

public class ApplyTripleMakerIterator
extends Object
implements com.hp.hpl.jena.util.iterator.ClosableIterator

Iterates over the triple stream created by applying several triple makers to each row of an SQL QueryExecutionIterator. Skips null triples produced by the triple makers.

Version:
$Id: ApplyTripleMakerIterator.java,v 1.1 2006/09/11 23:22:25 cyganiak Exp $
Author:
Chris Bizer chris@bizer.de, Richard Cyganiak (richard@cyganiak.de)

Constructor Summary
ApplyTripleMakerIterator(com.hp.hpl.jena.util.iterator.ClosableIterator sqlIterator, TripleMaker tripleMaker)
           
 
Method Summary
 void close()
           
 boolean hasNext()
           
 Object next()
           
 com.hp.hpl.jena.graph.Triple nextTriple()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplyTripleMakerIterator

public ApplyTripleMakerIterator(com.hp.hpl.jena.util.iterator.ClosableIterator sqlIterator,
                                TripleMaker tripleMaker)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator

next

public Object next()
Specified by:
next in interface Iterator

nextTriple

public com.hp.hpl.jena.graph.Triple nextTriple()

close

public void close()
Specified by:
close in interface com.hp.hpl.jena.util.iterator.ClosableIterator

remove

public void remove()
Specified by:
remove in interface Iterator