Enum RedisGraphCommand
- java.lang.Object
-
- java.lang.Enum<RedisGraphCommand>
-
- com.redislabs.redisgraph.impl.api.RedisGraphCommand
-
- All Implemented Interfaces:
Serializable
,Comparable<RedisGraphCommand>
,redis.clients.jedis.args.Rawable
,redis.clients.jedis.commands.ProtocolCommand
public enum RedisGraphCommand extends Enum<RedisGraphCommand> implements redis.clients.jedis.commands.ProtocolCommand
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getRaw()
static RedisGraphCommand
valueOf(String name)
Returns the enum constant of this type with the specified name.static RedisGraphCommand[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
QUERY
public static final RedisGraphCommand QUERY
-
RO_QUERY
public static final RedisGraphCommand RO_QUERY
-
DELETE
public static final RedisGraphCommand DELETE
-
-
Method Detail
-
values
public static RedisGraphCommand[] 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 (RedisGraphCommand c : RedisGraphCommand.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RedisGraphCommand 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 nameNullPointerException
- if the argument is null
-
getRaw
public byte[] getRaw()
- Specified by:
getRaw
in interfaceredis.clients.jedis.args.Rawable
-
-