public static enum Commands.ClusterCommand extends Enum<Commands.ClusterCommand> implements redis.clients.jedis.commands.ProtocolCommand
Enum Constant and Description |
---|
ADD |
ADDHASH |
AGGREGATE |
ALTER |
BROADCAST |
CREATE |
CURSOR |
DEL |
DROP |
EXPLAIN |
GET |
INFO |
SEARCH |
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 AGGREGATE
public static final Commands.ClusterCommand CURSOR
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 © 2019. All rights reserved.