Interface StatsResult

All Known Subinterfaces:
FieldStatsResult
All Known Implementing Classes:
SimpleFieldStatsResult, SimpleStatsResult

public interface StatsResult
Contract to define representation of statistic information requested using StatsOptions.
Since:
1.4
  • Method Details

    • getMin

      @Nullable Object getMin()
      Returns:
      minimum value
    • getMinAsDouble

      @Nullable Double getMinAsDouble()
      Returns:
      minimum value as Double, null will be returned when not Number
    • getMinAsDate

      @Nullable Date getMinAsDate()
      Returns:
      minimum value as Date, null will be returned when not Date
    • getMinAsString

      String getMinAsString()
      Returns:
      minimum value as String
    • getMax

      @Nullable Object getMax()
      Returns:
      maximum value
    • getMaxAsDouble

      @Nullable Double getMaxAsDouble()
      Returns:
      maximum value as Double, null will be returned when not Number
    • getMaxAsDate

      @Nullable Date getMaxAsDate()
      Returns:
      maximum value as Date, null will be returned when not Date
    • getMaxAsString

      String getMaxAsString()
      Returns:
      maximum value as String
    • getSum

      @Nullable Object getSum()
      Returns:
      sum of all values
    • getMean

      @Nullable Object getMean()
      Returns:
      average
    • getMeanAsDouble

      @Nullable Double getMeanAsDouble()
      Returns:
      mean value as Double, null will be returned when not Number.
      Since:
      3.0
    • getMeanAsDate

      @Nullable Date getMeanAsDate()
      Returns:
      mean value as Date, null will be returned when not Date.
      Since:
      3.0
    • getCount

      @Nullable Long getCount()
      Returns:
      number of non-null values
    • getMissing

      @Nullable Long getMissing()
      Returns:
      number of null values
    • getStddev

      @Nullable Double getStddev()
      Returns:
      standard deviation
    • getSumOfSquares

      @Nullable Double getSumOfSquares()
      Returns:
      sum of squares