org.axiondb.engine.rowiterators
Class FilteringChangingIndexedRowIterator
java.lang.Object
org.axiondb.engine.rowiterators.DelegatingRowIterator
org.axiondb.engine.rowiterators.AbstractFilteringRowIterator
org.axiondb.engine.rowiterators.AbstractAcceptingRowIterator
org.axiondb.engine.rowiterators.FilteringRowIterator
org.axiondb.engine.rowiterators.FilteringChangingIndexedRowIterator
- All Implemented Interfaces:
- MutableIndexedRowIterator, RowIterator
- public class FilteringChangingIndexedRowIterator
- extends FilteringRowIterator
- implements MutableIndexedRowIterator
|
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.AbstractFilteringRowIterator |
add, clearNextRow, clearPreviousRow, current, currentIndex, first, hasCurrent, isNextAvailable, isPreviousAvailable, last, next, nextIndex, peekNext, peekPrevious, previous, previousIndex, remove, set, setNext, setPrevious |
| Methods inherited from interface org.axiondb.RowIterator |
add, current, currentIndex, first, hasCurrent, last, next, nextIndex, peekNext, peekPrevious, previous, previousIndex, remove, set |
FilteringChangingIndexedRowIterator
public FilteringChangingIndexedRowIterator(MutableIndexedRowIterator iterator,
RowDecorator decorator,
Selectable where)
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