public final class IOBindingSetIterator extends com.google.common.collect.AbstractIterator<org.openrdf.query.BindingSet> implements BindingSetIterator, com.google.common.collect.PeekingIterator<org.openrdf.query.BindingSet>, CloseableIterator<org.openrdf.query.BindingSet>
Helper class to adapter the Sesame push parsing for query results to a pull interface via an Iterator.
CloseableIterator.AbstractCloseableIterator<T>, CloseableIterator.EmptyCloseableIterator<T>| Constructor and Description |
|---|
IOBindingSetIterator(InputStream theStream,
org.openrdf.query.resultio.TupleQueryResultFormat theFormat) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected org.openrdf.query.BindingSet |
computeNext() |
List<String> |
getBindingNames()
Return the list of valid keys, eg binding names, returned via this Iteration
|
endOfData, hasNext, next, peekclone, 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, hasNext, next, removepublic IOBindingSetIterator(InputStream theStream, org.openrdf.query.resultio.TupleQueryResultFormat theFormat)
protected org.openrdf.query.BindingSet computeNext()
computeNext in class com.google.common.collect.AbstractIterator<org.openrdf.query.BindingSet>public void close()
close in interface CloseableIterator<org.openrdf.query.BindingSet>close in interface AutoCloseablepublic List<String> getBindingNames()
getBindingNames in interface BindingSetIteratorCopyright © 2010-2016 Stardog Union. All Rights Reserved.