parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetInputFormat.java
public static Filter getFilter(Configuration conf) {
    return FilterCompat.get(getFilterPredicate(conf), getUnboundRecordFilterInstance(conf));
  }
public static Filter getFilter(Configuration conf) {
    return FilterCompat.get(getFilterPredicate(conf), getUnboundRecordFilterInstance(conf));
  }
Returns a non-null Filter, which is a wrapper around either a
FilterPredicate, an UnboundRecordFilter, or a no-op filter.

@param conf a configuration
@return a filter for the unbound record filter specified in conf