public static enum SearchProtocol.SearchCommand extends Enum<SearchProtocol.SearchCommand> implements ProtocolCommand
Enum Constant and Description |
---|
ADD |
AGGREGATE |
ALIASADD |
ALIASDEL |
ALIASUPDATE |
ALTER |
CONFIG |
CREATE |
CURSOR |
DEL |
DROP |
EXPLAIN |
GET |
INFO |
MGET |
SEARCH |
SYNDUMP |
SYNUPDATE |
Modifier and Type | Method and Description |
---|---|
byte[] |
getRaw() |
static SearchProtocol.SearchCommand |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchProtocol.SearchCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchProtocol.SearchCommand CREATE
public static final SearchProtocol.SearchCommand ALTER
public static final SearchProtocol.SearchCommand ADD
public static final SearchProtocol.SearchCommand INFO
public static final SearchProtocol.SearchCommand SEARCH
public static final SearchProtocol.SearchCommand EXPLAIN
public static final SearchProtocol.SearchCommand DEL
public static final SearchProtocol.SearchCommand DROP
public static final SearchProtocol.SearchCommand GET
public static final SearchProtocol.SearchCommand MGET
public static final SearchProtocol.SearchCommand AGGREGATE
public static final SearchProtocol.SearchCommand CURSOR
public static final SearchProtocol.SearchCommand CONFIG
public static final SearchProtocol.SearchCommand ALIASADD
public static final SearchProtocol.SearchCommand ALIASUPDATE
public static final SearchProtocol.SearchCommand ALIASDEL
public static final SearchProtocol.SearchCommand SYNUPDATE
public static final SearchProtocol.SearchCommand SYNDUMP
public static SearchProtocol.SearchCommand[] values()
for (SearchProtocol.SearchCommand c : SearchProtocol.SearchCommand.values()) System.out.println(c);
public static SearchProtocol.SearchCommand valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2021. All rights reserved.