org.axiondb.engine.rowiterators

Class ChangingIndexedRowIterator

public class ChangingIndexedRowIterator extends Object implements MutableIndexedRowIterator

A DelegatingRowIteratorthat is wraps a RowIteratorfrom some Index, and that can be resetto recreate the iterator for a new BindVariable bound value.

Version: $Revision: 1.16 $ $Date: 2005/12/20 18:32:41 $

Author: Amrish Lal Ahimanikya Satapathy

Constructor Summary
ChangingIndexedRowIterator(Index index, Table table, Function fn)
Method Summary
voidadd(Row row)
Rowcurrent()
intcurrentIndex()
Rowfirst()
booleanhasCurrent()
booleanhasNext()
booleanhasPrevious()
booleanindexSet()
booleanisEmpty()
Rowlast()
Rownext()
intnext(int count)
intnextIndex()
RowpeekNext()
RowpeekPrevious()
Rowprevious()
intprevious(int count)
intpreviousIndex()
voidremove()
voidremoveIndexKey()
voidreset()
voidset(Row row)
voidsetIndexKey(Object value)
intsize()
StringtoString()

Constructor Detail

ChangingIndexedRowIterator

public ChangingIndexedRowIterator(Index index, Table table, Function fn)

Method Detail

add

public void add(Row row)

current

public Row current()

currentIndex

public int currentIndex()

first

public Row first()

hasCurrent

public boolean hasCurrent()

hasNext

public boolean hasNext()

hasPrevious

public boolean hasPrevious()

indexSet

public final boolean indexSet()

isEmpty

public boolean isEmpty()

last

public Row last()

next

public Row next()

next

public int next(int count)

nextIndex

public int nextIndex()

peekNext

public Row peekNext()

peekPrevious

public Row peekPrevious()

previous

public Row previous()

previous

public int previous(int count)

previousIndex

public int previousIndex()

remove

public void remove()

removeIndexKey

public void removeIndexKey()

reset

public void reset()

set

public void set(Row row)

setIndexKey

public void setIndexKey(Object value)

size

public int size()

toString

public String toString()