Package org.redisson.api
Enum RScript.ReturnType
- java.lang.Object
-
- java.lang.Enum<RScript.ReturnType>
-
- org.redisson.api.RScript.ReturnType
-
- All Implemented Interfaces:
Serializable
,Comparable<RScript.ReturnType>
- Enclosing interface:
- RScript
public static enum RScript.ReturnType extends Enum<RScript.ReturnType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RedisCommand<?>
getCommand()
static RScript.ReturnType
valueOf(String name)
Returns the enum constant of this type with the specified name.static RScript.ReturnType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOOLEAN
public static final RScript.ReturnType BOOLEAN
-
INTEGER
public static final RScript.ReturnType INTEGER
-
MULTI
public static final RScript.ReturnType MULTI
-
STATUS
public static final RScript.ReturnType STATUS
-
VALUE
public static final RScript.ReturnType VALUE
-
MAPVALUE
public static final RScript.ReturnType MAPVALUE
-
MAPVALUELIST
public static final RScript.ReturnType MAPVALUELIST
-
-
Method Detail
-
values
public static RScript.ReturnType[] 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 (RScript.ReturnType c : RScript.ReturnType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RScript.ReturnType 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
-
getCommand
public RedisCommand<?> getCommand()
-
-