Enum Class Reducer

java.lang.Object
java.lang.Enum<Reducer>
io.quarkus.redis.datasource.timeseries.Reducer
All Implemented Interfaces:
Serializable, Comparable<Reducer>, Constable

public enum Reducer extends Enum<Reducer>
Time Series Reducer functions
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    per label value: arithmetic mean of all values
    per label value: number of values
    per label value: maximum value
    per label value: minimum value
    per label value: difference between the highest and the lowest value
    per label value: population standard deviation of the values
    per label value: sample standard deviation of the values
    per label value: sum of all values
    per label value: population variance of the values
    per label value: sample variance of the values
  • Method Summary

    Modifier and Type
    Method
    Description
     
    static Reducer
    Returns the enum constant of this class with the specified name.
    static Reducer[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • AVG

      public static final Reducer AVG
      per label value: arithmetic mean of all values
    • SUM

      public static final Reducer SUM
      per label value: sum of all values
    • MIN

      public static final Reducer MIN
      per label value: minimum value
    • MAX

      public static final Reducer MAX
      per label value: maximum value
    • RANGE

      public static final Reducer RANGE
      per label value: difference between the highest and the lowest value
    • COUNT

      public static final Reducer COUNT
      per label value: number of values
    • STD_P

      public static final Reducer STD_P
      per label value: population standard deviation of the values
    • STD_S

      public static final Reducer STD_S
      per label value: sample standard deviation of the values
    • VAR_P

      public static final Reducer VAR_P
      per label value: population variance of the values
    • VAR_S

      public static final Reducer VAR_S
      per label value: sample variance of the values
  • Method Details

    • values

      public static Reducer[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Reducer valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Reducer>