org.axiondb.engine.rowiterators
Class RebindableIndexedRowIterator

java.lang.Object
  extended byorg.axiondb.engine.rowiterators.DelegatingRowIterator
      extended byorg.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

Constructor Summary
RebindableIndexedRowIterator(Index index, Table table, Function fn, BindVariable bvar)
           
 
Method Summary
 void reset()
          Re-initialize this RowIterator to its initial state (positioned just before the first Rowin 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
 

Constructor Detail

RebindableIndexedRowIterator

public RebindableIndexedRowIterator(Index index,
                                    Table table,
                                    Function fn,
                                    BindVariable bvar)
                             throws AxionException
Method Detail

reset

public void reset()
           throws AxionException
Description copied from interface: RowIterator
Re-initialize this RowIterator to its initial state (positioned just before the first Rowin the list).

Specified by:
reset in interface RowIterator
Overrides:
reset in class DelegatingRowIterator
Throws:
AxionException