parquet-column/src/main/java/org/apache/parquet/filter/NotRecordFilter.java
public static final UnboundRecordFilter not( final UnboundRecordFilter filter) {
    Preconditions.checkNotNull( filter, "filter" );
    return new UnboundRecordFilter() {
      @Override
      public RecordFilter bind(Iterable<ColumnReader> readers) {
        return new NotRecordFilter( filter.bind(readers) );
      }
    };
  }
public static final UnboundRecordFilter not( final UnboundRecordFilter filter) {
    Preconditions.checkNotNull( filter, "filter" );
    return new UnboundRecordFilter() {
      @Override
      public RecordFilter bind(Iterable<ColumnReader> readers) {
        return new NotRecordFilter( filter.bind(readers) );
      }
    };
  }
Returns builder for creating an and filter.
@param filter The filter to invert.
@return a not record filter