|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openrdf.rdf2go.QueryRowIterator
public class QueryRowIterator
Iterator over an OpenRDF TupleQueryResult that converts its BindingSets to RDF2Go QueryRows on demand. This iterator closes automatically after returning the last QueryRow.
| Constructor Summary | |
|---|---|
QueryRowIterator(org.openrdf.query.TupleQueryResult queryResult)
|
|
| Method Summary | |
|---|---|
void |
close()
|
protected void |
finalize()
|
boolean |
hasNext()
|
QueryRow |
next()
|
void |
remove()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QueryRowIterator(org.openrdf.query.TupleQueryResult queryResult)
| Method Detail |
|---|
public boolean hasNext()
hasNext in interface java.util.Iterator<QueryRow>hasNext in interface ClosableIterator<QueryRow>public QueryRow next()
next in interface java.util.Iterator<QueryRow>next in interface ClosableIterator<QueryRow>public void remove()
remove in interface java.util.Iterator<QueryRow>remove in interface ClosableIterator<QueryRow>public void close()
close in interface ClosableIterator<QueryRow>
protected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||