Package org.apache.parquet.filter
Class NotRecordFilter
java.lang.Object
org.apache.parquet.filter.NotRecordFilter
- All Implemented Interfaces:
RecordFilter
Provides ability to negate the result of a filter.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisMatch()Works out whether the current record can pass through the filter.static final UnboundRecordFilternot(UnboundRecordFilter filter) Returns builder for creating an and filter.
-
Method Details
-
not
Returns builder for creating an and filter.- Parameters:
filter- The filter to invert.- Returns:
- a not record filter
-
isMatch
public boolean isMatch()Description copied from interface:RecordFilterWorks out whether the current record can pass through the filter.- Specified by:
isMatchin interfaceRecordFilter- Returns:
- true if the current value for the column reader matches the predicate.
-