Enum Reducer

    • Enum Constant Detail

      • 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 Detail

      • values

        public static Reducer[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Reducer c : Reducer.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Reducer valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null