public final class ColumnRecordFilter extends Object implements RecordFilter
Modifier and Type | Method and Description |
---|---|
static UnboundRecordFilter |
column(String columnPath,
ColumnPredicates.Predicate predicate)
Factory method for record filter which applies the supplied predicate to the specified column.
|
boolean |
isMatch()
Works out whether the current record can pass through the filter.
|
public static final UnboundRecordFilter column(String columnPath, ColumnPredicates.Predicate predicate)
columnPath
- Dot separated path specifier, e.g. "engine.capacity"predicate
- Should call getBinary etc. and check the valuepublic boolean isMatch()
RecordFilter
isMatch
in interface RecordFilter
Copyright © 2015. All rights reserved.