public class DistinctRowIterator extends AbstractAcceptingRowIterator
DelegatingRowIteratorimplementing DISTINCT.| Constructor and Description |
|---|
DistinctRowIterator(RowIterator iter,
java.util.Map selectableMap,
Selectable[] selectables) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
acceptable(int rowindex,
Row row)
My filtering method.
|
void |
remove()
Not supported in the base implementation.
|
void |
reset()
Re-initialize this
RowIterator to its initial state (positioned just
before the first Rowin the list). |
void |
set(Row row)
Not supported in the base implementation.
|
java.lang.String |
toString() |
determineNextRow, determinePreviousRowclearNextRow, clearPreviousRow, current, currentIndex, getDelegate, hasCurrent, hasNext, hasPrevious, isNextAvailable, isPreviousAvailable, next, nextIndex, previous, previousIndex, setNext, setPreviousadd, first, isEmpty, last, next, peekNext, peekPrevious, previous, sizepublic DistinctRowIterator(RowIterator iter, java.util.Map selectableMap, Selectable[] selectables)
public void set(Row row) throws AxionException
set in interface RowIteratorset in class AbstractAcceptingRowIteratorAxionExceptionpublic void remove()
throws AxionException
remove in interface RowIteratorremove in class AbstractFilteringRowIteratorAxionExceptionpublic void reset()
throws AxionException
RowIteratorRowIterator to its initial state (positioned just
before the first Rowin the list).reset in interface RowIteratorreset in class AbstractFilteringRowIteratorAxionExceptionpublic java.lang.String toString()
toString in class java.lang.Objectprotected boolean acceptable(int rowindex,
Row row)
throws AxionException
AbstractAcceptingRowIteratortrue if the given Rowshould be
included in the iteration, false otherwise.acceptable in class AbstractAcceptingRowIteratorAxionException