Package org.apache.orc
Interface IntegerColumnStatistics
- All Superinterfaces:
ColumnStatistics
Statistics for all of the integer columns, such as byte, short, int, and
long.
-
Method Summary
Modifier and TypeMethodDescriptionlong
Get the largest value in the column.long
Get the smallest value in the column.long
getSum()
Get the sum of the column.boolean
Is the sum defined? If the sum overflowed the counter this will be false.Methods inherited from interface org.apache.orc.ColumnStatistics
getBytesOnDisk, getNumberOfValues, hasNull
-
Method Details
-
getMinimum
long getMinimum()Get the smallest value in the column. Only defined if getNumberOfValues is non-zero.- Returns:
- the minimum
-
getMaximum
long getMaximum()Get the largest value in the column. Only defined if getNumberOfValues is non-zero.- Returns:
- the maximum
-
isSumDefined
boolean isSumDefined()Is the sum defined? If the sum overflowed the counter this will be false.- Returns:
- is the sum available
-
getSum
long getSum()Get the sum of the column. Only valid if isSumDefined returns true.- Returns:
- the sum of the column
-