org.axiondb.engine.rowiterators
Class FilteringChangingIndexedRowIterator

java.lang.Object
  extended by org.axiondb.engine.rowiterators.BaseRowIterator
      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
 java.lang.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(java.lang.Object value)
           
 
Methods inherited from class org.axiondb.engine.rowiterators.FilteringRowIterator
acceptable, toString
 
Methods inherited from class org.axiondb.engine.rowiterators.AbstractAcceptingRowIterator
determineNextRow, determinePreviousRow, set
 
Methods inherited from class org.axiondb.engine.rowiterators.AbstractFilteringRowIterator
clearNextRow, clearPreviousRow, current, currentIndex, getDelegate, hasCurrent, isNextAvailable, isPreviousAvailable, next, nextIndex, previous, previousIndex, remove, setNext, setPrevious
 
Methods inherited from class org.axiondb.engine.rowiterators.BaseRowIterator
add, first, last, next, peekNext, peekPrevious, previous, size
 
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, next, nextIndex, peekNext, peekPrevious, previous, previous, previousIndex, remove, set, size
 

Constructor Detail

FilteringChangingIndexedRowIterator

public FilteringChangingIndexedRowIterator(MutableIndexedRowIterator iterator,
                                           RowDecorator decorator,
                                           Selectable where)
Method Detail

getShortName

public java.lang.String getShortName()
Overrides:
getShortName in class FilteringRowIterator

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

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 BaseRowIterator

removeIndexKey

public void removeIndexKey()
                    throws AxionException
Specified by:
removeIndexKey in interface MutableIndexedRowIterator
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 Rowin the list).

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

setIndexKey

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