Package org.redisson.api
Enum FunctionResult
- All Implemented Interfaces:
Serializable
,Comparable<FunctionResult>
,java.lang.constant.Constable
Function result type.
- Author:
- Nikita Koksharov
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionResult is a value of Boolean typeResult is a value of List typeResult is a value of Long typeResult is a value of Map Value type.Result is a value of List type, which consists of objects of Map Value type.Result is a value of plain String typeResult is a value of user defined type -
Method Summary
Modifier and TypeMethodDescriptionRedisCommand<?>
static FunctionResult
Returns the enum constant of this type with the specified name.static FunctionResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
BOOLEAN
Result is a value of Boolean type -
LONG
Result is a value of Long type -
LIST
Result is a value of List type -
STRING
Result is a value of plain String type -
VALUE
Result is a value of user defined type -
MAPVALUE
Result is a value of Map Value type. Codec.getMapValueDecoder() and Codec.getMapValueEncoder() methods are used for data deserialization or serialization. -
MAPVALUELIST
Result is a value of List type, which consists of objects of Map Value type. Codec.getMapValueDecoder() and Codec.getMapValueEncoder() methods are used for data deserialization or serialization.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getCommand
-