public enum TopKCommand extends Enum<TopKCommand> implements redis.clients.jedis.commands.ProtocolCommand
Enum Constant and Description |
---|
ADD |
COUNT |
INCRBY |
INFO |
LIST |
QUERY |
RESERVE |
Modifier and Type | Method and Description |
---|---|
byte[] |
getRaw() |
static TopKCommand |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TopKCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TopKCommand RESERVE
public static final TopKCommand ADD
public static final TopKCommand INCRBY
public static final TopKCommand QUERY
public static final TopKCommand COUNT
public static final TopKCommand LIST
public static final TopKCommand INFO
public static TopKCommand[] values()
for (TopKCommand c : TopKCommand.values()) System.out.println(c);
public static TopKCommand 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.args.Rawable
Copyright © 2021 RedisLabs. All rights reserved.