|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.axiondb.engine.rowiterators.DelegatingRowIterator
org.axiondb.engine.rowiterators.ChangingIndexedRowIterator
A DelegatingRowIterator that is wraps
a RowIterator from some Index,
and that can be reset to recreate the iterator
for a new bound value.
BaseTable.getIndexedRows(org.axiondb.Selectable, boolean),
Index,
BindVariable| Constructor Summary | |
ChangingIndexedRowIterator(Index index,
Table table,
Function fn)
|
|
| 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)
|
String |
toString()
|
| Methods inherited from class org.axiondb.engine.rowiterators.DelegatingRowIterator |
add, current, currentIndex, first, getDelegate, hasCurrent, last, next, nextIndex, peekNext, peekPrevious, previous, previousIndex, remove, set, 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 |
public ChangingIndexedRowIterator(Index index,
Table table,
Function fn)
throws AxionException
| Method Detail |
public void reset()
throws AxionException
RowIteratorRowIterator to its initial state (positioned just
before the first Rowin the list).
reset in interface RowIteratorreset in class DelegatingRowIteratorAxionException
public void removeIndexKey()
throws AxionException
removeIndexKey in interface MutableIndexedRowIteratorAxionExceptionpublic boolean isEmpty()
RowIteratortrue if there are no rows to report with this iterator.
isEmpty in interface RowIteratorisEmpty in class DelegatingRowIterator
public void setIndexKey(Object value)
throws AxionException
setIndexKey in interface MutableIndexedRowIteratorAxionExceptionpublic boolean indexSet()
indexSet in interface MutableIndexedRowIteratorpublic boolean hasNext()
RowIteratortrue 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.)
hasNext in interface RowIteratorhasNext in class DelegatingRowIteratorpublic boolean hasPrevious()
RowIteratortrue 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.)
hasPrevious in interface RowIteratorhasPrevious in class DelegatingRowIteratorpublic String toString()
public String getShortName()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||