IntegerColumnStatistics (ORC Core 1.6.5 API)
Date: 2020-10-01

org.apache.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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `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.orc.ColumnStatistics

      `getBytesOnDisk, getNumberOfValues, hasNull`

- - ### 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 © 2013–2020 The Apache Software Foundation. All rights reserved.