public static enum AutoCompleter.Command extends Enum<AutoCompleter.Command> implements redis.clients.jedis.commands.ProtocolCommand
Modifier and Type | Method and Description |
---|---|
byte[] |
getRaw() |
static AutoCompleter.Command |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AutoCompleter.Command[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AutoCompleter.Command SUGADD
public static final AutoCompleter.Command SUGGET
public static final AutoCompleter.Command SUGDEL
public static final AutoCompleter.Command SUGLEN
public static AutoCompleter.Command[] values()
for (AutoCompleter.Command c : AutoCompleter.Command.values()) System.out.println(c);
public static AutoCompleter.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.