public interface OrcPredicate
Modifier and Type | Field and Description |
---|---|
static OrcPredicate |
TRUE |
Modifier and Type | Method and Description |
---|---|
boolean |
matches(long numberOfRows,
Map<Integer,ColumnStatistics> statisticsByColumnIndex)
Should the ORC reader process a file section with the specified statistics.
|
static final OrcPredicate TRUE
boolean matches(long numberOfRows, Map<Integer,ColumnStatistics> statisticsByColumnIndex)
numberOfRows
- the number of rows in the segment; this can be used with
ColumnStatistics
to determine if a column is only nullstatisticsByColumnIndex
- statistics for column by ordinal position
in the file; this will match the field order from the hive metastoreCopyright © 2012–2020. All rights reserved.