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