|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.axiondb.engine.rowiterators.BaseRowIterator
org.axiondb.engine.rowiterators.AbstractFilteringRowIterator
org.axiondb.engine.rowiterators.AbstractAcceptingRowIterator
public abstract class AbstractAcceptingRowIterator
Abstract base DelegatingRowIteratorthat excludes Rows that are not
acceptable.
| Constructor Summary | |
|---|---|
AbstractAcceptingRowIterator(RowIterator iterator)
|
|
| Method Summary | |
|---|---|
protected abstract boolean |
acceptable(int rowindex,
Row row)
My filtering method. |
protected boolean |
determineNextRow()
|
protected boolean |
determinePreviousRow()
|
void |
set(Row row)
Not supported in the base implementation. |
| Methods inherited from class org.axiondb.engine.rowiterators.AbstractFilteringRowIterator |
|---|
clearNextRow, clearPreviousRow, current, currentIndex, getDelegate, hasCurrent, hasNext, hasPrevious, isNextAvailable, isPreviousAvailable, next, nextIndex, previous, previousIndex, remove, reset, setNext, setPrevious |
| Methods inherited from class org.axiondb.engine.rowiterators.BaseRowIterator |
|---|
add, first, isEmpty, last, next, peekNext, peekPrevious, previous, size |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractAcceptingRowIterator(RowIterator iterator)
| Method Detail |
|---|
public void set(Row row)
throws AxionException
BaseRowIterator
set in interface RowIteratorset in class AbstractFilteringRowIteratorAxionException
protected abstract boolean acceptable(int rowindex,
Row row)
throws AxionException
true if the given Rowshould be
included in the iteration, false otherwise.
AxionException
protected boolean determineNextRow()
throws AxionException
determineNextRow in class AbstractFilteringRowIteratorAxionException
protected boolean determinePreviousRow()
throws AxionException
determinePreviousRow in class AbstractFilteringRowIteratorAxionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||