Package redis.clients.jedis.timeseries
Enum TimeSeriesProtocol.TimeSeriesCommand
- java.lang.Object
-
- java.lang.Enum<TimeSeriesProtocol.TimeSeriesCommand>
-
- redis.clients.jedis.timeseries.TimeSeriesProtocol.TimeSeriesCommand
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<TimeSeriesProtocol.TimeSeriesCommand>,Rawable,ProtocolCommand
- Enclosing class:
- TimeSeriesProtocol
public static enum TimeSeriesProtocol.TimeSeriesCommand extends java.lang.Enum<TimeSeriesProtocol.TimeSeriesCommand> implements ProtocolCommand
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getRaw()Get byte array representation.static TimeSeriesProtocol.TimeSeriesCommandvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TimeSeriesProtocol.TimeSeriesCommand[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATE
public static final TimeSeriesProtocol.TimeSeriesCommand CREATE
-
RANGE
public static final TimeSeriesProtocol.TimeSeriesCommand RANGE
-
REVRANGE
public static final TimeSeriesProtocol.TimeSeriesCommand REVRANGE
-
MRANGE
public static final TimeSeriesProtocol.TimeSeriesCommand MRANGE
-
MREVRANGE
public static final TimeSeriesProtocol.TimeSeriesCommand MREVRANGE
-
CREATERULE
public static final TimeSeriesProtocol.TimeSeriesCommand CREATERULE
-
DELETERULE
public static final TimeSeriesProtocol.TimeSeriesCommand DELETERULE
-
ADD
public static final TimeSeriesProtocol.TimeSeriesCommand ADD
-
MADD
public static final TimeSeriesProtocol.TimeSeriesCommand MADD
-
DEL
public static final TimeSeriesProtocol.TimeSeriesCommand DEL
-
INCRBY
public static final TimeSeriesProtocol.TimeSeriesCommand INCRBY
-
DECRBY
public static final TimeSeriesProtocol.TimeSeriesCommand DECRBY
-
INFO
public static final TimeSeriesProtocol.TimeSeriesCommand INFO
-
GET
public static final TimeSeriesProtocol.TimeSeriesCommand GET
-
MGET
public static final TimeSeriesProtocol.TimeSeriesCommand MGET
-
ALTER
public static final TimeSeriesProtocol.TimeSeriesCommand ALTER
-
QUERYINDEX
public static final TimeSeriesProtocol.TimeSeriesCommand QUERYINDEX
-
-
Method Detail
-
values
public static TimeSeriesProtocol.TimeSeriesCommand[] 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 (TimeSeriesProtocol.TimeSeriesCommand c : TimeSeriesProtocol.TimeSeriesCommand.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TimeSeriesProtocol.TimeSeriesCommand 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
-
-