public class TupleDomainParquetPredicate extends Object implements ParquetPredicate
TRUE| Constructor and Description |
|---|
TupleDomainParquetPredicate(TupleDomain<parquet.column.ColumnDescriptor> effectivePredicate,
List<RichColumnDescriptor> columns) |
| Modifier and Type | Method and Description |
|---|---|
static Domain |
getDomain(Type type,
long rowCount,
parquet.column.statistics.Statistics<?> statistics) |
static Domain |
getDomain(Type type,
ParquetDictionaryDescriptor dictionaryDescriptor) |
boolean |
matches(long numberOfRows,
Map<parquet.column.ColumnDescriptor,parquet.column.statistics.Statistics<?>> statistics)
Should the Parquet Reader process a file section with the specified statistics.
|
boolean |
matches(Map<parquet.column.ColumnDescriptor,ParquetDictionaryDescriptor> dictionaries)
Should the Parquet Reader process a file section with the specified dictionary.
|
public TupleDomainParquetPredicate(TupleDomain<parquet.column.ColumnDescriptor> effectivePredicate, List<RichColumnDescriptor> columns)
public boolean matches(long numberOfRows,
Map<parquet.column.ColumnDescriptor,parquet.column.statistics.Statistics<?>> statistics)
ParquetPredicatematches in interface ParquetPredicatenumberOfRows - the number of rows in the segment; this can be used with
Statistics to determine if a column is only nullstatistics - column statisticspublic boolean matches(Map<parquet.column.ColumnDescriptor,ParquetDictionaryDescriptor> dictionaries)
ParquetPredicatematches in interface ParquetPredicatedictionaries - dictionaries per columnpublic static Domain getDomain(Type type, long rowCount, parquet.column.statistics.Statistics<?> statistics)
public static Domain getDomain(Type type, ParquetDictionaryDescriptor dictionaryDescriptor)
Copyright © 2012-2017. All Rights Reserved.