Enum Reducer
- java.lang.Object
-
- java.lang.Enum<Reducer>
-
- io.quarkus.redis.datasource.timeseries.Reducer
-
- All Implemented Interfaces:
Serializable
,Comparable<Reducer>
public enum Reducer extends Enum<Reducer>
Time Series Reducer functions
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AVG
per label value: arithmetic mean of all valuesCOUNT
per label value: number of valuesMAX
per label value: maximum valueMIN
per label value: minimum valueRANGE
per label value: difference between the highest and the lowest valueSTD_P
per label value: population standard deviation of the valuesSTD_S
per label value: sample standard deviation of the valuesSUM
per label value: sum of all valuesVAR_P
per label value: population variance of the valuesVAR_S
per label value: sample variance of the values
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static Reducer
valueOf(String name)
Returns the enum constant of this type with the specified name.static Reducer[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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 nameNullPointerException
- if the argument is null
-
-