Package redis.clients.jedis.search
Enum SearchProtocol.SearchCommand
- java.lang.Object
-
- java.lang.Enum<SearchProtocol.SearchCommand>
-
- redis.clients.jedis.search.SearchProtocol.SearchCommand
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SearchProtocol.SearchCommand>,Rawable,ProtocolCommand
- Enclosing class:
- SearchProtocol
public static enum SearchProtocol.SearchCommand extends java.lang.Enum<SearchProtocol.SearchCommand> implements ProtocolCommand
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getRaw()Get byte array representation.static SearchProtocol.SearchCommandvalueOf(java.lang.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.
-
-
-
Enum Constant Detail
-
CREATE
public static final SearchProtocol.SearchCommand CREATE
-
ALTER
public static final SearchProtocol.SearchCommand ALTER
-
INFO
public static final SearchProtocol.SearchCommand INFO
-
SEARCH
public static final SearchProtocol.SearchCommand SEARCH
-
EXPLAIN
public static final SearchProtocol.SearchCommand EXPLAIN
-
EXPLAINCLI
public static final SearchProtocol.SearchCommand EXPLAINCLI
-
AGGREGATE
public static final SearchProtocol.SearchCommand AGGREGATE
-
CURSOR
public static final SearchProtocol.SearchCommand CURSOR
-
CONFIG
public static final SearchProtocol.SearchCommand CONFIG
-
ALIASADD
public static final SearchProtocol.SearchCommand ALIASADD
-
ALIASUPDATE
public static final SearchProtocol.SearchCommand ALIASUPDATE
-
ALIASDEL
public static final SearchProtocol.SearchCommand ALIASDEL
-
SYNUPDATE
public static final SearchProtocol.SearchCommand SYNUPDATE
-
SYNDUMP
public static final SearchProtocol.SearchCommand SYNDUMP
-
SUGADD
public static final SearchProtocol.SearchCommand SUGADD
-
SUGGET
public static final SearchProtocol.SearchCommand SUGGET
-
SUGDEL
public static final SearchProtocol.SearchCommand SUGDEL
-
SUGLEN
public static final SearchProtocol.SearchCommand SUGLEN
-
DROPINDEX
public static final SearchProtocol.SearchCommand DROPINDEX
-
DICTADD
public static final SearchProtocol.SearchCommand DICTADD
-
DICTDEL
public static final SearchProtocol.SearchCommand DICTDEL
-
DICTDUMP
public static final SearchProtocol.SearchCommand DICTDUMP
-
SPELLCHECK
public static final SearchProtocol.SearchCommand SPELLCHECK
-
TAGVALS
public static final SearchProtocol.SearchCommand TAGVALS
-
PROFILE
public static final SearchProtocol.SearchCommand PROFILE
-
_LIST
public static final SearchProtocol.SearchCommand _LIST
-
-
Method Detail
-
values
public static SearchProtocol.SearchCommand[] 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 (SearchProtocol.SearchCommand c : SearchProtocol.SearchCommand.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SearchProtocol.SearchCommand 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
-
-