parquet-column/src/main/java/org/apache/parquet/filter/AndRecordFilter.java
public static final UnboundRecordFilter and( final UnboundRecordFilter filter1, final UnboundRecordFilter filter2 ) {
    Preconditions.checkNotNull( filter1, "filter1" );
    Preconditions.checkNotNull( filter2, "filter2" );
    return new UnboundRecordFilter() {
      @Override
      public RecordFilter bind(Iterable<ColumnReader> readers) {
        return new AndRecordFilter( filter1.bind(readers), filter2.bind( readers) );
      }
    };
  }
public static final UnboundRecordFilter and( final UnboundRecordFilter filter1, final UnboundRecordFilter filter2 ) {
    Preconditions.checkNotNull( filter1, "filter1" );
    Preconditions.checkNotNull( filter2, "filter2" );
    return new UnboundRecordFilter() {
      @Override
      public RecordFilter bind(Iterable<ColumnReader> readers) {
        return new AndRecordFilter( filter1.bind(readers), filter2.bind( readers) );
      }
    };
  }
Returns builder for creating an and filter.
@param filter1 The first filter to check.
@param filter2 The second filter to check.
@return an unbound and filter