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 TypeMethodDescriptionlongGet the largest value in the column.longGet the smallest value in the column.longgetSum()Get the sum of the column.booleanIs 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
-