org.axiondb.engine.rowiterators
Class RebindableIndexedRowIterator
java.lang.Object
org.axiondb.engine.rowiterators.DelegatingRowIterator
org.axiondb.engine.rowiterators.RebindableIndexedRowIterator
- All Implemented Interfaces:
- RowIterator
- public class RebindableIndexedRowIterator
- extends DelegatingRowIterator
A DelegatingRowIterator
that is wraps
a RowIterator
from some Index
,
and that can be reset
to recreate the iterator
for a new bound value
.
- Version:
- $Revision: 1.7 $ $Date: 2003/12/05 18:43:37 $
- See Also:
org.axiondb.engine.BaseTable#getIndexedRows
,
Index
,
BindVariable
Method Summary |
void |
reset()
Re-initialize this RowIterator to its initial state (positioned just
before the first Row in the list). |
Methods inherited from class org.axiondb.engine.rowiterators.DelegatingRowIterator |
add, current, currentIndex, first, getDelegate, hasCurrent, hasNext, hasPrevious, isEmpty, last, next, nextIndex, peekNext, peekPrevious, previous, previousIndex, remove, set, setDelegate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RebindableIndexedRowIterator
public RebindableIndexedRowIterator(Index index,
Table table,
Function fn,
BindVariable bvar)
throws AxionException
reset
public void reset()
throws AxionException
- Description copied from interface:
RowIterator
- Re-initialize this
RowIterator
to its initial state (positioned just
before the first Row
in the list).
- Specified by:
reset
in interface RowIterator
- Overrides:
reset
in class DelegatingRowIterator
- Throws:
AxionException