public enum RedisCacheStruct extends Enum<RedisCacheStruct> implements CacheStruct
Enum Constant and Description |
---|
BIT
bit
|
GEO
geo
|
HASH
hash
|
HYPER_LOG_LOG
hyper_log_log
|
LIST
list
|
SET
set
|
STRING
string
|
Z_SET
z_set
|
Modifier and Type | Method and Description |
---|---|
String |
getStruct()
获取数据结构
|
static RedisCacheStruct |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RedisCacheStruct[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RedisCacheStruct STRING
public static final RedisCacheStruct LIST
public static final RedisCacheStruct HASH
public static final RedisCacheStruct SET
public static final RedisCacheStruct Z_SET
public static final RedisCacheStruct BIT
public static final RedisCacheStruct GEO
public static final RedisCacheStruct HYPER_LOG_LOG
public static RedisCacheStruct[] values()
for (RedisCacheStruct c : RedisCacheStruct.values()) System.out.println(c);
public static RedisCacheStruct 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 String getStruct()
CacheStruct
getStruct
in interface CacheStruct
Copyright © 2024. All rights reserved.