public final class MultiStatementIterator extends com.google.common.collect.AbstractIterator<org.openrdf.model.Statement> implements StatementIterator
StatementIterator whose contents are the concatenation of multiple iterators.
CloseableIterator.AbstractCloseableIterator<T>, CloseableIterator.EmptyCloseableIterator<T>| Constructor and Description |
|---|
MultiStatementIterator(List<StatementIterator> theIters)
Create a new MultiStatementIteration
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected org.openrdf.model.Statement |
computeNext() |
Iterable<org.openrdf.model.Namespace> |
namespaces()
Returns namespaces associated with this statement iteration if any.
|
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 MultiStatementIterator(List<StatementIterator> theIters)
theIters - the list of iterations to iterate againstprotected org.openrdf.model.Statement computeNext()
computeNext in class com.google.common.collect.AbstractIterator<org.openrdf.model.Statement>public void close()
throws RuntimeException
close in interface CloseableIterator<org.openrdf.model.Statement>close in interface AutoCloseableRuntimeExceptionpublic Iterable<org.openrdf.model.Namespace> namespaces()
namespaces in interface StatementIteratornullCopyright © 2010-2016 Stardog Union. All Rights Reserved.