Package org.apache.iceberg.parquet
Class ParquetDictionaryRowGroupFilter
java.lang.Object
org.apache.iceberg.parquet.ParquetDictionaryRowGroupFilter
-
Constructor Summary
ConstructorDescriptionParquetDictionaryRowGroupFilter
(Schema schema, Expression unbound) ParquetDictionaryRowGroupFilter
(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.column.page.DictionaryPageReadStore dictionaries) Test whether the dictionaries for a row group may contain records that match the expression.
-
Constructor Details
-
ParquetDictionaryRowGroupFilter
-
ParquetDictionaryRowGroupFilter
-
-
Method Details
-
shouldRead
public boolean shouldRead(org.apache.parquet.schema.MessageType fileSchema, org.apache.parquet.hadoop.metadata.BlockMetaData rowGroup, org.apache.parquet.column.page.DictionaryPageReadStore dictionaries) Test whether the dictionaries for a row group may contain records that match the expression.- Parameters:
fileSchema
- schema for the Parquet filedictionaries
- a dictionary page read store- Returns:
- false if the file cannot contain rows that match the expression, true otherwise.
-