public final class TupleQueryResultIterator extends Object implements BindingSetIterator, CloseableIterator<org.openrdf.query.BindingSet>
Adapter for TupleQueryResult objects to Iterator
CloseableIterator.AbstractCloseableIterator<T>, CloseableIterator.EmptyCloseableIterator<T>| Constructor and Description |
|---|
TupleQueryResultIterator(org.openrdf.query.TupleQueryResult theResult) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
List<String> |
getBindingNames()
Return the list of valid keys, eg binding names, returned via this Iteration
|
boolean |
hasNext() |
org.openrdf.query.BindingSet |
next() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseQuietly, collect, concat, empty, filter, first, isEmpty, onClose, singleton, size, toCloseable, toCloseable, toCloseable, toList, toSet, transformforEachRemaining, removepublic TupleQueryResultIterator(org.openrdf.query.TupleQueryResult theResult)
public org.openrdf.query.BindingSet next()
throws org.openrdf.query.QueryEvaluationException
public boolean hasNext()
throws org.openrdf.query.QueryEvaluationException
public void close()
throws org.openrdf.query.QueryEvaluationException
close in interface CloseableIterator<org.openrdf.query.BindingSet>close in interface AutoCloseableorg.openrdf.query.QueryEvaluationExceptionpublic List<String> getBindingNames() throws org.openrdf.query.QueryEvaluationException
getBindingNames in interface BindingSetIteratororg.openrdf.query.QueryEvaluationExceptionCopyright © 2010-2016 Stardog Union. All Rights Reserved.