Package org.apache.iceberg.parquet
Class ParquetBloomRowGroupFilter
java.lang.Object
org.apache.iceberg.parquet.ParquetBloomRowGroupFilter
-
Constructor Summary
ConstructorDescriptionParquetBloomRowGroupFilter
(Schema schema, Expression unbound) ParquetBloomRowGroupFilter
(Schema schema, Expression unbound, boolean caseSensitive) -
Method Summary
Modifier and TypeMethodDescriptionboolean
shouldRead
(org.apache.parquet.schema.MessageType fileSchema, org.apache.parquet.hadoop.metadata.BlockMetaData rowGroup, org.apache.parquet.hadoop.BloomFilterReader bloomReader) Tests whether the bloom for a row group may contain records that match the expression.
-
Constructor Details
-
ParquetBloomRowGroupFilter
-
ParquetBloomRowGroupFilter
-
-
Method Details
-
shouldRead
public boolean shouldRead(org.apache.parquet.schema.MessageType fileSchema, org.apache.parquet.hadoop.metadata.BlockMetaData rowGroup, org.apache.parquet.hadoop.BloomFilterReader bloomReader) Tests whether the bloom for a row group may contain records that match the expression.- Parameters:
fileSchema
- schema for the Parquet filerowGroup
- metadata for a row groupbloomReader
- a bloom filter reader- Returns:
- false if the file cannot contain rows that match the expression, true otherwise.
-