public class RebindableIndexedRowIterator extends DelegatingRowIterator
DelegatingRowIterator
that is wraps
a RowIterator
from some Index
,
and that can be reset
to recreate the iterator
for a new bound value
.org.axiondb.engine.BaseTable#getIndexedRows
,
Index
,
BindVariable
Constructor and Description |
---|
RebindableIndexedRowIterator(Index index,
RowSource table,
Function fn,
BindVariable bvar) |
Modifier and Type | Method and Description |
---|---|
void |
reset()
Re-initialize this
RowIterator to its initial state (positioned just
before the first Row in the list). |
add, current, currentIndex, first, getDelegate, hasCurrent, hasNext, hasPrevious, isEmpty, last, next, next, nextIndex, peekNext, peekPrevious, previous, previous, previousIndex, remove, set, setDelegate, size
public RebindableIndexedRowIterator(Index index, RowSource table, Function fn, BindVariable bvar) throws AxionException
AxionException
public void reset() throws AxionException
RowIterator
RowIterator
to its initial state (positioned just
before the first Row
in the list).reset
in interface RowIterator
reset
in class DelegatingRowIterator
AxionException