org.axiondb.engine.rowiterators

Class AbstractAcceptingRowIterator

public abstract class AbstractAcceptingRowIterator extends AbstractFilteringRowIterator

Abstract base DelegatingRowIteratorthat excludes Rows that are not acceptable.

Version: $Revision: 1.5 $ $Date: 2005/04/08 13:40:43 $

Author: Rodney Waldhoff

Constructor Summary
AbstractAcceptingRowIterator(RowIterator iterator)
Method Summary
protected abstract booleanacceptable(int rowindex, Row row)
My filtering method.
protected booleandetermineNextRow()
protected booleandeterminePreviousRow()
voidset(Row row)

Constructor Detail

AbstractAcceptingRowIterator

public AbstractAcceptingRowIterator(RowIterator iterator)

Method Detail

acceptable

protected abstract boolean acceptable(int rowindex, Row row)
My filtering method. Return true if the given Rowshould be included in the iteration, false otherwise.

determineNextRow

protected boolean determineNextRow()

determinePreviousRow

protected boolean determinePreviousRow()

set

public void set(Row row)