Class ParquetBloomRowGroupFilter

java.lang.Object
org.apache.iceberg.parquet.ParquetBloomRowGroupFilter

public class ParquetBloomRowGroupFilter extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    ParquetBloomRowGroupFilter(org.apache.iceberg.Schema schema, org.apache.iceberg.expressions.Expression unbound)
     
    ParquetBloomRowGroupFilter(org.apache.iceberg.Schema schema, org.apache.iceberg.expressions.Expression unbound, boolean caseSensitive)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ParquetBloomRowGroupFilter

      public ParquetBloomRowGroupFilter(org.apache.iceberg.Schema schema, org.apache.iceberg.expressions.Expression unbound)
    • ParquetBloomRowGroupFilter

      public ParquetBloomRowGroupFilter(org.apache.iceberg.Schema schema, org.apache.iceberg.expressions.Expression unbound, boolean caseSensitive)
  • 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 file
      rowGroup - metadata for a row group
      bloomReader - a bloom filter reader
      Returns:
      false if the file cannot contain rows that match the expression, true otherwise.