public static enum SearchProtocol.SearchCommand extends Enum<SearchProtocol.SearchCommand> implements ProtocolCommand
Enum Constant and Description |
---|
AGGREGATE |
ALIASADD |
ALIASDEL |
ALIASUPDATE |
ALTER |
CONFIG |
CREATE |
CURSOR |
DICTADD |
DICTDEL |
DICTDUMP |
DROPINDEX |
EXPLAIN |
EXPLAINCLI |
INFO |
SEARCH |
SUGADD |
SUGDEL |
SUGGET |
SUGLEN |
SYNDUMP |
SYNUPDATE |
TAGVALS |
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 INFO
public static final SearchProtocol.SearchCommand SEARCH
public static final SearchProtocol.SearchCommand EXPLAIN
public static final SearchProtocol.SearchCommand EXPLAINCLI
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 final SearchProtocol.SearchCommand SUGADD
public static final SearchProtocol.SearchCommand SUGGET
public static final SearchProtocol.SearchCommand SUGDEL
public static final SearchProtocol.SearchCommand SUGLEN
public static final SearchProtocol.SearchCommand DROPINDEX
public static final SearchProtocol.SearchCommand DICTADD
public static final SearchProtocol.SearchCommand DICTDEL
public static final SearchProtocol.SearchCommand DICTDUMP
public static final SearchProtocol.SearchCommand TAGVALS
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 © 2022. All rights reserved.