Package com.redis.lettucemod.protocol
Enum TimeSeriesCommandType
- java.lang.Object
-
- java.lang.Enum<TimeSeriesCommandType>
-
- com.redis.lettucemod.protocol.TimeSeriesCommandType
-
- All Implemented Interfaces:
io.lettuce.core.protocol.ProtocolKeyword,java.io.Serializable,java.lang.Comparable<TimeSeriesCommandType>
public enum TimeSeriesCommandType extends java.lang.Enum<TimeSeriesCommandType> implements io.lettuce.core.protocol.ProtocolKeyword
RedisTimeSeries commands.- Author:
- Julien Ruaux
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getBytes()static TimeSeriesCommandTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TimeSeriesCommandType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD
public static final TimeSeriesCommandType ADD
-
ALTER
public static final TimeSeriesCommandType ALTER
-
CREATE
public static final TimeSeriesCommandType CREATE
-
CREATERULE
public static final TimeSeriesCommandType CREATERULE
-
DELETERULE
public static final TimeSeriesCommandType DELETERULE
-
MADD
public static final TimeSeriesCommandType MADD
-
INCRBY
public static final TimeSeriesCommandType INCRBY
-
DECRBY
public static final TimeSeriesCommandType DECRBY
-
RANGE
public static final TimeSeriesCommandType RANGE
-
REVRANGE
public static final TimeSeriesCommandType REVRANGE
-
MRANGE
public static final TimeSeriesCommandType MRANGE
-
MREVRANGE
public static final TimeSeriesCommandType MREVRANGE
-
GET
public static final TimeSeriesCommandType GET
-
MGET
public static final TimeSeriesCommandType MGET
-
INFO
public static final TimeSeriesCommandType INFO
-
-
Method Detail
-
values
public static TimeSeriesCommandType[] 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 (TimeSeriesCommandType c : TimeSeriesCommandType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TimeSeriesCommandType 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
-
getBytes
public byte[] getBytes()
- Specified by:
getBytesin interfaceio.lettuce.core.protocol.ProtocolKeyword
-
-