org.axiondb.engine.rowiterators
Class FilteringChangingIndexedRowIterator

java.lang.Object
  extended by org.axiondb.engine.rowiterators.DelegatingRowIterator
      extended by org.axiondb.engine.rowiterators.AbstractFilteringRowIterator
          extended by org.axiondb.engine.rowiterators.AbstractAcceptingRowIterator
              extended by org.axiondb.engine.rowiterators.FilteringRowIterator
                  extended by org.axiondb.engine.rowiterators.FilteringChangingIndexedRowIterator
All Implemented Interfaces:
MutableIndexedRowIterator, RowIterator

public class FilteringChangingIndexedRowIterator
extends FilteringRowIterator
implements MutableIndexedRowIterator


Constructor Summary
FilteringChangingIndexedRowIterator(MutableIndexedRowIterator iterator, RowDecorator decorator, Selectable where)
           
 
Method Summary
 String getShortName()
           
 boolean hasNext()
          Returns true if I have more Rows when traversing the list in the forward direction.
 boolean hasPrevious()
          Returns true if I have more Rows when traversing the list in the reverse direction.
 boolean indexSet()
           
 boolean isEmpty()
          Returns true if there are no rows to report with this iterator.
 void removeIndexKey()
           
 void reset()
          Re-initialize this RowIterator to its initial state (positioned just before the first Rowin the list).
 void setIndexKey(Object value)
           
 
Methods inherited from class org.axiondb.engine.rowiterators.FilteringRowIterator
acceptable, toString
 
Methods inherited from class org.axiondb.engine.rowiterators.AbstractAcceptingRowIterator
determineNextRow, determinePreviousRow
 
Methods inherited from class org.axiondb.engine.rowiterators.AbstractFilteringRowIterator
add, clearNextRow, clearPreviousRow, current, currentIndex, first, hasCurrent, isNextAvailable, isPreviousAvailable, last, next, nextIndex, peekNext, peekPrevious, previous, previousIndex, remove, set, setNext, setPrevious
 
Methods inherited from class org.axiondb.engine.rowiterators.DelegatingRowIterator
getDelegate, setDelegate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.axiondb.RowIterator
add, current, currentIndex, first, hasCurrent, last, next, nextIndex, peekNext, peekPrevious, previous, previousIndex, remove, set
 

Constructor Detail

FilteringChangingIndexedRowIterator

public FilteringChangingIndexedRowIterator(MutableIndexedRowIterator iterator,
                                           RowDecorator decorator,
                                           Selectable where)
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 AbstractFilteringRowIterator
Throws:
AxionException

setIndexKey

public void setIndexKey(Object value)
                 throws AxionException
Specified by:
setIndexKey in interface MutableIndexedRowIterator
Throws:
AxionException

removeIndexKey

public void removeIndexKey()
                    throws AxionException
Specified by:
removeIndexKey in interface MutableIndexedRowIterator
Throws:
AxionException

indexSet

public boolean indexSet()
Specified by:
indexSet in interface MutableIndexedRowIterator

isEmpty

public boolean isEmpty()
Description copied from interface: RowIterator
Returns true if there are no rows to report with this iterator.

Specified by:
isEmpty in interface RowIterator
Overrides:
isEmpty in class DelegatingRowIterator

hasNext

public boolean hasNext()
Description copied from interface: RowIterator
Returns true if I have more Rows when traversing the list in the forward direction. (In other words, returns true iff RowIterator.next()would return a Rowrather than throwing an exception.)

Specified by:
hasNext in interface RowIterator
Overrides:
hasNext in class AbstractFilteringRowIterator

hasPrevious

public boolean hasPrevious()
Description copied from interface: RowIterator
Returns true if I have more Rows when traversing the list in the reverse direction. (In other words, returns true iff RowIterator.previous()would return a Rowrather than throwing an exception.)

Specified by:
hasPrevious in interface RowIterator
Overrides:
hasPrevious in class AbstractFilteringRowIterator

getShortName

public String getShortName()
Overrides:
getShortName in class FilteringRowIterator