Package redis.clients.jedis.bloom
Enum RedisBloomProtocol.TopKCommand
- java.lang.Object
-
- java.lang.Enum<RedisBloomProtocol.TopKCommand>
-
- redis.clients.jedis.bloom.RedisBloomProtocol.TopKCommand
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<RedisBloomProtocol.TopKCommand>,Rawable,ProtocolCommand
- Enclosing class:
- RedisBloomProtocol
public static enum RedisBloomProtocol.TopKCommand extends java.lang.Enum<RedisBloomProtocol.TopKCommand> implements ProtocolCommand
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getRaw()Get byte array representation.static RedisBloomProtocol.TopKCommandvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static RedisBloomProtocol.TopKCommand[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RESERVE
public static final RedisBloomProtocol.TopKCommand RESERVE
-
ADD
public static final RedisBloomProtocol.TopKCommand ADD
-
INCRBY
public static final RedisBloomProtocol.TopKCommand INCRBY
-
QUERY
public static final RedisBloomProtocol.TopKCommand QUERY
-
COUNT
public static final RedisBloomProtocol.TopKCommand COUNT
-
LIST
public static final RedisBloomProtocol.TopKCommand LIST
-
INFO
public static final RedisBloomProtocol.TopKCommand INFO
-
-
Method Detail
-
values
public static RedisBloomProtocol.TopKCommand[] 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 (RedisBloomProtocol.TopKCommand c : RedisBloomProtocol.TopKCommand.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RedisBloomProtocol.TopKCommand valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-