Package com.redis.lettucemod.protocol
Enum SearchCommandType
- java.lang.Object
-
- java.lang.Enum<SearchCommandType>
-
- com.redis.lettucemod.protocol.SearchCommandType
-
- All Implemented Interfaces:
io.lettuce.core.protocol.ProtocolKeyword,java.io.Serializable,java.lang.Comparable<SearchCommandType>
public enum SearchCommandType extends java.lang.Enum<SearchCommandType> implements io.lettuce.core.protocol.ProtocolKeyword
RediSearch commands.- Author:
- Julien Ruaux
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getBytes()static SearchCommandTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SearchCommandType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AGGREGATE
public static final SearchCommandType AGGREGATE
-
ALTER
public static final SearchCommandType ALTER
-
CREATE
public static final SearchCommandType CREATE
-
CURSOR
public static final SearchCommandType CURSOR
-
DROPINDEX
public static final SearchCommandType DROPINDEX
-
INFO
public static final SearchCommandType INFO
-
SEARCH
public static final SearchCommandType SEARCH
-
SUGADD
public static final SearchCommandType SUGADD
-
SUGGET
public static final SearchCommandType SUGGET
-
SUGDEL
public static final SearchCommandType SUGDEL
-
SUGLEN
public static final SearchCommandType SUGLEN
-
ALIASADD
public static final SearchCommandType ALIASADD
-
ALIASUPDATE
public static final SearchCommandType ALIASUPDATE
-
ALIASDEL
public static final SearchCommandType ALIASDEL
-
LIST
public static final SearchCommandType LIST
-
TAGVALS
public static final SearchCommandType TAGVALS
-
DICTADD
public static final SearchCommandType DICTADD
-
DICTDEL
public static final SearchCommandType DICTDEL
-
DICTDUMP
public static final SearchCommandType DICTDUMP
-
-
Method Detail
-
values
public static SearchCommandType[] 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 (SearchCommandType c : SearchCommandType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SearchCommandType 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
-
-