public final class IOBindingSetIterator extends com.google.common.collect.AbstractIterator<BindingSet> implements BindingSetIterator, com.google.common.collect.PeekingIterator<BindingSet>, CloseableIterator<BindingSet>
Helper class to adapter the Sesame push parsing for query results to a pull interface via an Iterator.
CloseableIterator.AbstractCloseableIterator<T>, CloseableIterator.DelegatingCloseableIterator<T>, CloseableIterator.EmptyCloseableIterator<T>| Constructor and Description |
|---|
IOBindingSetIterator(InputStream theStream,
com.stardog.stark.query.io.QueryResultFormat theFormat) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected BindingSet |
computeNext() |
List<String> |
variables()
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, concat, concat, empty, filter, first, isEmpty, map, onClose, singleton, size, toCloseable, toCloseable, toCloseable, toList, toSet, transformforEachRemaining, hasNext, next, removepublic IOBindingSetIterator(InputStream theStream, com.stardog.stark.query.io.QueryResultFormat theFormat)
protected BindingSet computeNext()
computeNext in class com.google.common.collect.AbstractIterator<BindingSet>public void close()
close in interface CloseableIterator<BindingSet>close in interface AutoCloseablepublic List<String> variables()
variables in interface BindingSetIteratorCopyright © 2010-2016 Stardog Union. All Rights Reserved.