public interface Predicate
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(DictionaryDescriptor dictionary)
Should the Parquet Reader process a file section with the specified dictionary based on that
single dictionary.
|
boolean |
matches(long numberOfRows,
Map<org.apache.parquet.column.ColumnDescriptor,org.apache.parquet.column.statistics.Statistics<?>> statistics,
ParquetDataSourceId id,
Optional<WarningCollector> warningCollector)
Should the Parquet Reader process a file section with the specified statistics.
|
boolean |
matches(long numberOfRows,
Optional<org.apache.parquet.internal.filter2.columnindex.ColumnIndexStore> columnIndexStore)
Should the Parquet Reader process a file section with the specified statistics.
|
static final Predicate TRUE
boolean matches(long numberOfRows,
Map<org.apache.parquet.column.ColumnDescriptor,org.apache.parquet.column.statistics.Statistics<?>> statistics,
ParquetDataSourceId id,
Optional<WarningCollector> warningCollector)
numberOfRows - the number of rows in the segment; this can be used with
Statistics to determine if a column is only nullstatistics - column statisticsid - Parquet file namewarningCollector - Presto WarningCollector that is used to collect warnings when the statistics is corruptboolean matches(DictionaryDescriptor dictionary)
dictionary - The single column dictionaryboolean matches(long numberOfRows,
Optional<org.apache.parquet.internal.filter2.columnindex.ColumnIndexStore> columnIndexStore)
numberOfRows - the number of rows in the segment; this can be used with
Statistics to determine if a column is only nullcolumnIndexStore - column index (statistics) storeCopyright © 2012–2024. All rights reserved.