Interface ColumnStatistics


@Evolving public interface ColumnStatistics
An interface to represent column statistics, which is part of Statistics.
Since:
3.4.0
  • Method Details

    • distinctCount

      default OptionalLong distinctCount()
      Returns:
      number of distinct values in the column
    • min

      default Optional<Object> min()
      Returns:
      minimum value in the column
    • max

      default Optional<Object> max()
      Returns:
      maximum value in the column
    • nullCount

      default OptionalLong nullCount()
      Returns:
      number of nulls in the column
    • avgLen

      default OptionalLong avgLen()
      Returns:
      average length of the values in the column
    • maxLen

      default OptionalLong maxLen()
      Returns:
      maximum length of the values in the column
    • histogram

      default Optional<Histogram> histogram()
      Returns:
      histogram of the values in the column