public enum CommandType extends java.lang.Enum<CommandType> implements io.lettuce.core.protocol.ProtocolKeyword
| Enum Constant and Description |
|---|
_LIST |
ADD |
AGGREGATE |
ALIASADD |
ALIASDEL |
ALIASUPDATE |
ALTER |
CREATE |
CURSOR |
DEL |
DROP |
DROPINDEX |
GET |
INFO |
MGET |
SEARCH |
SUGADD |
SUGDEL |
SUGGET |
SUGLEN |
| Modifier and Type | Field and Description |
|---|---|
byte[] |
bytes |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes() |
static CommandType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CommandType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandType ADD
public static final CommandType AGGREGATE
public static final CommandType ALTER
public static final CommandType CREATE
public static final CommandType CURSOR
public static final CommandType DEL
public static final CommandType DROP
public static final CommandType DROPINDEX
public static final CommandType GET
public static final CommandType MGET
public static final CommandType INFO
public static final CommandType SEARCH
public static final CommandType SUGADD
public static final CommandType SUGGET
public static final CommandType SUGDEL
public static final CommandType SUGLEN
public static final CommandType ALIASADD
public static final CommandType ALIASUPDATE
public static final CommandType ALIASDEL
public static final CommandType _LIST
public static CommandType[] values()
for (CommandType c : CommandType.values()) System.out.println(c);
public static CommandType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic byte[] getBytes()
getBytes in interface io.lettuce.core.protocol.ProtocolKeyword