Package redis.clients.jedis.timeseries
Enum AggregationType
- java.lang.Object
-
- java.lang.Enum<AggregationType>
-
- redis.clients.jedis.timeseries.AggregationType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AggregationType>,Rawable
public enum AggregationType extends java.lang.Enum<AggregationType> implements Rawable
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getRaw()Get byte array representation.static AggregationTypesafeValueOf(java.lang.String str)static AggregationTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AggregationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AVG
public static final AggregationType AVG
-
SUM
public static final AggregationType SUM
-
MIN
public static final AggregationType MIN
-
MAX
public static final AggregationType MAX
-
RANGE
public static final AggregationType RANGE
-
COUNT
public static final AggregationType COUNT
-
FIRST
public static final AggregationType FIRST
-
LAST
public static final AggregationType LAST
-
STD_P
public static final AggregationType STD_P
-
STD_S
public static final AggregationType STD_S
-
VAR_P
public static final AggregationType VAR_P
-
VAR_S
public static final AggregationType VAR_S
-
TWA
public static final AggregationType TWA
-
-
Method Detail
-
values
public static AggregationType[] 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 (AggregationType c : AggregationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AggregationType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getRaw
public byte[] getRaw()
Description copied from interface:RawableGet byte array representation.
-
safeValueOf
public static AggregationType safeValueOf(java.lang.String str)
-
-