public enum RedisDataType extends Enum<RedisDataType>
Enum Constant and Description |
---|
HASH
Redis Hashes are maps between string fields and string values.
|
HYPER_LOG_LOG
HyperLogLog is a probabilistic data structure used in order to count unique things.
|
LIST
Redis Lists are simply lists of strings, sorted by insertion order.
|
PUBSUB
Redis implementation of publish and subscribe paradigm.
|
SET
Redis Sets are an unordered collection of Strings.
|
SORTED_SET
Redis Sorted Sets are, similarly to Redis Sets, non repeating collections of Strings.
|
STRING
Strings are the most basic kind of Redis value.
|
Modifier and Type | Method and Description |
---|---|
static RedisDataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RedisDataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RedisDataType STRING
public static final RedisDataType HASH
public static final RedisDataType LIST
public static final RedisDataType SET
public static final RedisDataType SORTED_SET
public static final RedisDataType HYPER_LOG_LOG
public static final RedisDataType PUBSUB
public static RedisDataType[] values()
for (RedisDataType c : RedisDataType.values()) System.out.println(c);
public static RedisDataType 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 nullCopyright © 2014–2017 The Apache Software Foundation. All rights reserved.