Enum RedisDataTypeDescription.RedisDataType
- java.lang.Object
-
- java.lang.Enum<RedisDataTypeDescription.RedisDataType>
-
- org.apache.storm.redis.common.mapper.RedisDataTypeDescription.RedisDataType
-
- All Implemented Interfaces:
Serializable
,Comparable<RedisDataTypeDescription.RedisDataType>
- Enclosing class:
- RedisDataTypeDescription
public static enum RedisDataTypeDescription.RedisDataType extends Enum<RedisDataTypeDescription.RedisDataType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GEO
HASH
HYPER_LOG_LOG
LIST
SET
SORTED_SET
STRING
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RedisDataTypeDescription.RedisDataType
valueOf(String name)
Returns the enum constant of this type with the specified name.static RedisDataTypeDescription.RedisDataType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRING
public static final RedisDataTypeDescription.RedisDataType STRING
-
HASH
public static final RedisDataTypeDescription.RedisDataType HASH
-
LIST
public static final RedisDataTypeDescription.RedisDataType LIST
-
SET
public static final RedisDataTypeDescription.RedisDataType SET
-
SORTED_SET
public static final RedisDataTypeDescription.RedisDataType SORTED_SET
-
HYPER_LOG_LOG
public static final RedisDataTypeDescription.RedisDataType HYPER_LOG_LOG
-
GEO
public static final RedisDataTypeDescription.RedisDataType GEO
-
-
Method Detail
-
values
public static RedisDataTypeDescription.RedisDataType[] 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 (RedisDataTypeDescription.RedisDataType c : RedisDataTypeDescription.RedisDataType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RedisDataTypeDescription.RedisDataType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-