R
- The generic type for the [R]elation elements.public interface IChunkedOrderedIterator<R> extends IChunkedIterator<R>
IChunkedIterator
interface that knows about natural
traversal orders and how to re-order the elements that are being visited to
support JOINs where the natural order for the access paths is different for
the left- and right-hand side of the JOIN.DEFAULT_CHUNK_SIZE
Modifier and Type | Method and Description |
---|---|
IKeyOrder<R> |
getKeyOrder()
The natural order in which elements are being visited.
|
R[] |
nextChunk(IKeyOrder<R> keyOrder)
Return the next "chunk" of elements.
|
next, nextChunk, remove
close
IKeyOrder<R> getKeyOrder()
null
if not known.R[] nextChunk(IKeyOrder<R> keyOrder)
getKeyOrder()
would return non-null
and the request order corresponds to the value that would be returned by
getKeyOrder()
then the elements in the next chunk are NOT
sorted. Otherwise the elements in the next chunk are sorted before they
are returned. The size of the chunk is up to the implementation.keyOrder
- The natural order for the elements in the chunk.NoSuchElementException
- if the iterator is exhausted.IllegalArgumentException
- if the keyOrder is null
.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.