public abstract class TransformingRowIterator extends DelegatingRowIterator
| Constructor and Description |
|---|
TransformingRowIterator(RowIterator iter) |
| Modifier and Type | Method and Description |
|---|---|
Row |
current()
Returns the last
Rowreturned by me (by RowIterator.next(),RowIterator.previous(),
RowIterator.first(),RowIterator.last(), etc.). |
Row |
first()
|
Row |
last()
|
Row |
next()
|
Row |
peekNext()
Return the value that would be returned by a call to
RowIterator.next(), if any, but
don't update my position. |
Row |
peekPrevious()
Return the value that would be returned by a call to
RowIterator.previous(), if any,
but don't update my position. |
Row |
previous()
|
protected abstract Row |
transform(Row row) |
add, currentIndex, getDelegate, hasCurrent, hasNext, hasPrevious, isEmpty, next, nextIndex, previous, previousIndex, remove, reset, set, setDelegate, sizepublic TransformingRowIterator(RowIterator iter)
public Row current()
RowIteratorRowreturned by me (by RowIterator.next(),RowIterator.previous(),
RowIterator.first(),RowIterator.last(), etc.).current in interface RowIteratorcurrent in class DelegatingRowIteratorpublic Row first() throws AxionException
RowIteratorRowin the list, positioning the cursor to just before
the first Rowin the list. (In other words, after first is
called both RowIterator.next()and RowIterator.current()will return the first row in the
list.)first in interface RowIteratorfirst in class DelegatingRowIteratorAxionException - when a problem occurs accessing the Rowpublic Row last() throws AxionException
RowIteratorRowin the list, positioning the cursor to just after the
last Rowin the list. (In other words, after last is called
both RowIterator.previous()and RowIterator.current()will return the last row in the list.)last in interface RowIteratorlast in class DelegatingRowIteratorAxionException - when a problem occurs accessing the Rowpublic Row next() throws AxionException
RowIteratornext in interface RowIteratornext in class DelegatingRowIteratorAxionException - when a problem occurs accessing the Rowpublic Row peekNext() throws AxionException
RowIteratorRowIterator.next(), if any, but
don't update my position.peekNext in interface RowIteratorpeekNext in class DelegatingRowIteratorAxionException - when a problem occurs accessing the Rowpublic Row peekPrevious() throws AxionException
RowIteratorRowIterator.previous(), if any,
but don't update my position.peekPrevious in interface RowIteratorpeekPrevious in class DelegatingRowIteratorAxionException - when a problem occurs accessing the Rowpublic Row previous() throws AxionException
RowIteratorprevious in interface RowIteratorprevious in class DelegatingRowIteratorAxionException - when a problem occurs accessing the Row