Package org.apache.iceberg.parquet
Class ParquetMetricsRowGroupFilter
- java.lang.Object
-
- org.apache.iceberg.parquet.ParquetMetricsRowGroupFilter
-
public class ParquetMetricsRowGroupFilter extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ParquetMetricsRowGroupFilter(Schema schema, Expression unbound)
ParquetMetricsRowGroupFilter(Schema schema, Expression unbound, boolean caseSensitive)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
shouldRead(org.apache.parquet.schema.MessageType fileSchema, org.apache.parquet.hadoop.metadata.BlockMetaData rowGroup)
Test whether the file may contain records that match the expression.
-
-
-
Constructor Detail
-
ParquetMetricsRowGroupFilter
public ParquetMetricsRowGroupFilter(Schema schema, Expression unbound)
-
ParquetMetricsRowGroupFilter
public ParquetMetricsRowGroupFilter(Schema schema, Expression unbound, boolean caseSensitive)
-
-
Method Detail
-
shouldRead
public boolean shouldRead(org.apache.parquet.schema.MessageType fileSchema, org.apache.parquet.hadoop.metadata.BlockMetaData rowGroup)
Test whether the file may contain records that match the expression.- Parameters:
fileSchema
- schema for the Parquet filerowGroup
- metadata for a row group- Returns:
- false if the file cannot contain rows that match the expression, true otherwise.
-
-