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()
RecordFilterisMatch in interface RecordFilterCopyright © 2023 The Apache Software Foundation. All rights reserved.