Package com.redis.lettucemod.protocol
Enum GearsCommandType
- java.lang.Object
-
- java.lang.Enum<GearsCommandType>
-
- com.redis.lettucemod.protocol.GearsCommandType
-
- All Implemented Interfaces:
io.lettuce.core.protocol.ProtocolKeyword,java.io.Serializable,java.lang.Comparable<GearsCommandType>
public enum GearsCommandType extends java.lang.Enum<GearsCommandType> implements io.lettuce.core.protocol.ProtocolKeyword
RedisTimeSeries commands.- Author:
- Julien Ruaux
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABORTEXECUTIONCONFIGGETCONFIGSETDROPEXECUTIONDUMPEXECUTIONSDUMPREGISTRATIONSGETEXECUTIONGETRESULTSGETRESULTSBLOCKINGPYEXECUTETRIGGERUNREGISTER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getBytes()static GearsCommandTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static GearsCommandType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ABORTEXECUTION
public static final GearsCommandType ABORTEXECUTION
-
CONFIGGET
public static final GearsCommandType CONFIGGET
-
CONFIGSET
public static final GearsCommandType CONFIGSET
-
DROPEXECUTION
public static final GearsCommandType DROPEXECUTION
-
DUMPEXECUTIONS
public static final GearsCommandType DUMPEXECUTIONS
-
DUMPREGISTRATIONS
public static final GearsCommandType DUMPREGISTRATIONS
-
GETEXECUTION
public static final GearsCommandType GETEXECUTION
-
GETRESULTS
public static final GearsCommandType GETRESULTS
-
GETRESULTSBLOCKING
public static final GearsCommandType GETRESULTSBLOCKING
-
PYEXECUTE
public static final GearsCommandType PYEXECUTE
-
TRIGGER
public static final GearsCommandType TRIGGER
-
UNREGISTER
public static final GearsCommandType UNREGISTER
-
-
Method Detail
-
values
public static GearsCommandType[] 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 (GearsCommandType c : GearsCommandType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GearsCommandType 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
-
-