org.apache.hadoop.hive.ql.io.orc
Interface IntegerColumnStatistics

All Superinterfaces:
ColumnStatistics

public interface IntegerColumnStatistics
extends ColumnStatistics

Statistics for all of the integer columns, such as byte, short, int, and long.


Method Summary
 long getMaximum()
          Get the largest value in the column.
 long getMinimum()
          Get the smallest value in the column.
 long getSum()
          Get the sum of the column.
 boolean isSumDefined()
          Is the sum defined? If the sum overflowed the counter this will be false.
 
Methods inherited from interface org.apache.hadoop.hive.ql.io.orc.ColumnStatistics
getNumberOfValues
 

Method Detail

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


Copyright © 2014 The Apache Software Foundation. All rights reserved.