org.axiondb.engine.rowiterators
Class RebindableIndexedRowIterator

java.lang.Object
  extended by org.axiondb.engine.rowiterators.DelegatingRowIterator
      extended by 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.9 $ $Date: 2005/12/20 18:32:41 $
See Also:
org.axiondb.engine.BaseTable#getIndexedRows, Index, BindVariable

Constructor Summary
RebindableIndexedRowIterator(Index index, RowSource 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, next, nextIndex, peekNext, peekPrevious, previous, previous, previousIndex, remove, set, setDelegate, size
 
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,
                                    RowSource table,
                                    Function fn,
                                    BindVariable bvar)
                             throws AxionException
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