public static enum Commands.Command extends Enum<Commands.Command> implements redis.clients.jedis.commands.ProtocolCommand
Enum Constant and Description |
---|
ADD |
ADDHASH
Deprecated.
|
AGGREGATE |
ALIASADD |
ALIASDEL |
ALIASUPDATE |
ALTER |
CONFIG |
CREATE |
CURSOR |
DEL |
DROP |
EXPLAIN |
GET |
INFO |
MGET |
SEARCH |
SYNADD
Deprecated.
|
SYNDUMP |
SYNUPDATE |
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
@Deprecated 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 MGET
public static final Commands.Command AGGREGATE
public static final Commands.Command CURSOR
public static final Commands.Command CONFIG
public static final Commands.Command ALIASADD
public static final Commands.Command ALIASUPDATE
public static final Commands.Command ALIASDEL
@Deprecated public static final Commands.Command SYNADD
public static final Commands.Command SYNUPDATE
public static final Commands.Command SYNDUMP
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 © 2020 RedisLabs. All rights reserved.