| Constructor and Description |
|---|
TupleDomainParquetPredicate(TupleDomain<org.apache.parquet.column.ColumnDescriptor> effectivePredicate,
List<RichColumnDescriptor> columns) |
| Modifier and Type | Method and Description |
|---|---|
static long |
asLong(Object value) |
static Domain |
getDomain(org.apache.parquet.column.ColumnDescriptor column,
Type type,
long rowCount,
org.apache.parquet.column.statistics.Statistics<?> statistics,
ParquetDataSourceId id) |
static Domain |
getDomain(Type type,
DictionaryDescriptor dictionaryDescriptor) |
Domain |
getDomain(Type type,
long rowCount,
org.apache.parquet.internal.column.columnindex.ColumnIndex columnIndex,
RichColumnDescriptor descriptor) |
org.apache.parquet.filter2.predicate.FilterPredicate |
getParquetUserDefinedPredicate() |
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)
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.
|
public TupleDomainParquetPredicate(TupleDomain<org.apache.parquet.column.ColumnDescriptor> effectivePredicate, List<RichColumnDescriptor> columns)
public boolean matches(long numberOfRows,
Map<org.apache.parquet.column.ColumnDescriptor,org.apache.parquet.column.statistics.Statistics<?>> statistics,
ParquetDataSourceId id)
throws ParquetCorruptionException
Predicatematches in interface PredicatenumberOfRows - 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 nameParquetCorruptionExceptionpublic boolean matches(DictionaryDescriptor dictionary)
Predicatepublic boolean matches(long numberOfRows,
Optional<org.apache.parquet.internal.filter2.columnindex.ColumnIndexStore> columnIndexStore)
Predicatepublic static Domain getDomain(org.apache.parquet.column.ColumnDescriptor column, Type type, long rowCount, org.apache.parquet.column.statistics.Statistics<?> statistics, ParquetDataSourceId id) throws ParquetCorruptionException
ParquetCorruptionExceptionpublic static Domain getDomain(Type type, DictionaryDescriptor dictionaryDescriptor)
public Domain getDomain(Type type, long rowCount, org.apache.parquet.internal.column.columnindex.ColumnIndex columnIndex, RichColumnDescriptor descriptor)
public static long asLong(Object value)
public org.apache.parquet.filter2.predicate.FilterPredicate getParquetUserDefinedPredicate()
Copyright © 2012–2022. All rights reserved.