org.eobjects.analyzer.beans.api
Interface Filter<C extends Enum<C>>
- Type Parameters:
C - an enum type with the available categories
- All Known Subinterfaces:
- QueryOptimizedFilter<C>
- All Known Implementing Classes:
- DateRangeFilter, DictionaryFilter, EqualsFilter, JavaScriptFilter, MaxRowsFilter, NullCheckFilter, NumberRangeFilter, SingleWordFilter, StringLengthRangeFilter, StringPatternFilter, StringValueRangeFilter
public interface Filter<C extends Enum<C>>
Interface for components that filter/categorize rows.
A filter will process incoming rows and label them with a category. A
category is defined as a value in an enum. When a row is categorized, this
category can then be used to set up a requirement for succeeding row
processing.
A sub-interface of Filter exists, QueryOptimizedFilter, which allows
filter functionality to be pushed down to the query in certain circumstances
where it is desirable to do so.
- Author:
- Kasper Sørensen
categorize
C categorize(InputRow inputRow)
- Categorizes/filters a single row.
- Parameters:
inputRow - the row to categorize.
- Returns:
- an enum representing the category applied to the row.
Copyright © 2012 eobjects.org. All Rights Reserved.