com.lambdaworks.redis.protocol
Enum CommandKeyword
java.lang.Object
java.lang.Enum<CommandKeyword>
com.lambdaworks.redis.protocol.CommandKeyword
- All Implemented Interfaces:
- Serializable, Comparable<CommandKeyword>
public enum CommandKeyword
- extends Enum<CommandKeyword>
Keyword modifiers for redis commands.
- Author:
- Will Glozer
|
Field Summary |
byte[] |
bytes
|
|
Method Summary |
static CommandKeyword |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CommandKeyword[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
AFTER
public static final CommandKeyword AFTER
AGGREGATE
public static final CommandKeyword AGGREGATE
ALPHA
public static final CommandKeyword ALPHA
AND
public static final CommandKeyword AND
ASC
public static final CommandKeyword ASC
BEFORE
public static final CommandKeyword BEFORE
BY
public static final CommandKeyword BY
COUNT
public static final CommandKeyword COUNT
DESC
public static final CommandKeyword DESC
ENCODING
public static final CommandKeyword ENCODING
FLUSH
public static final CommandKeyword FLUSH
GETNAME
public static final CommandKeyword GETNAME
IDLETIME
public static final CommandKeyword IDLETIME
KILL
public static final CommandKeyword KILL
LEN
public static final CommandKeyword LEN
LIMIT
public static final CommandKeyword LIMIT
LIST
public static final CommandKeyword LIST
LOAD
public static final CommandKeyword LOAD
MAX
public static final CommandKeyword MAX
MIN
public static final CommandKeyword MIN
NO
public static final CommandKeyword NO
NOSAVE
public static final CommandKeyword NOSAVE
NOT
public static final CommandKeyword NOT
ONE
public static final CommandKeyword ONE
OR
public static final CommandKeyword OR
REFCOUNT
public static final CommandKeyword REFCOUNT
RESET
public static final CommandKeyword RESET
RESETSTAT
public static final CommandKeyword RESETSTAT
SETNAME
public static final CommandKeyword SETNAME
STORE
public static final CommandKeyword STORE
SUM
public static final CommandKeyword SUM
WEIGHTS
public static final CommandKeyword WEIGHTS
WITHSCORES
public static final CommandKeyword WITHSCORES
XOR
public static final CommandKeyword XOR
bytes
public byte[] bytes
values
public static CommandKeyword[] 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 (CommandKeyword c : CommandKeyword.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static CommandKeyword valueOf(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:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
Copyright © 2013. All Rights Reserved.