public enum RedisDataType extends Enum<RedisDataType>
| 枚举常量和说明 |
|---|
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.
|
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 - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2023–2024. All rights reserved.