public static enum Commands.Command extends Enum<Commands.Command> implements redis.clients.jedis.commands.ProtocolCommand
Enum Constant and Description |
---|
ADD |
ADDHASH |
AGGREGATE |
ALTER |
CREATE |
CURSOR |
DEL |
DROP |
EXPLAIN |
GET |
INFO |
SEARCH |
Modifier and Type | Method and Description |
---|---|
byte[] |
getRaw() |
static Commands.Command |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Commands.Command[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Commands.Command CREATE
public static final Commands.Command ALTER
public static final Commands.Command ADD
public static final Commands.Command ADDHASH
public static final Commands.Command INFO
public static final Commands.Command SEARCH
public static final Commands.Command EXPLAIN
public static final Commands.Command DEL
public static final Commands.Command DROP
public static final Commands.Command GET
public static final Commands.Command AGGREGATE
public static final Commands.Command CURSOR
public static Commands.Command[] values()
for (Commands.Command c : Commands.Command.values()) System.out.println(c);
public static Commands.Command 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 nullpublic byte[] getRaw()
getRaw
in interface redis.clients.jedis.commands.ProtocolCommand
Copyright © 2019. All rights reserved.