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

org.apache.orc

## Interface ColumnStatistics

- All Known Subinterfaces:
    BinaryColumnStatistics, BooleanColumnStatistics, CollectionColumnStatistics, DateColumnStatistics, DecimalColumnStatistics, DoubleColumnStatistics, IntegerColumnStatistics, StringColumnStatistics, TimestampColumnStatistics
  All Known Implementing Classes:
    ColumnStatisticsImpl, ColumnStatisticsImpl.BinaryStatisticsImpl, ColumnStatisticsImpl.StringStatisticsImpl

      public interface ColumnStatistics

  Statistics that are available for all types of columns.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `long` | `getBytesOnDisk()` Get the number of bytes for this column.
    `long` | `getNumberOfValues()` Get the number of values in this column.
    `boolean` | `hasNull()` Returns true if there are nulls in the scope of column statistics.

- - ### Method Detail

    - #### getNumberOfValues

          long getNumberOfValues()

      Get the number of values in this column. It will differ from the number of rows because of NULL values and repeated values.
      Returns:
        the number of values

    - #### hasNull

          boolean hasNull()

      Returns true if there are nulls in the scope of column statistics.
      Returns:
        true if null present else false

    - #### getBytesOnDisk

          long getBytesOnDisk()

      Get the number of bytes for this column.
      Returns:
        the number of bytes

Copyright © 2013–2020 The Apache Software Foundation. All rights reserved.