Enum Class RedisHashCommands.HashFieldSetOption
java.lang.Object
java.lang.Enum<RedisHashCommands.HashFieldSetOption>
org.springframework.data.redis.connection.RedisHashCommands.HashFieldSetOption
- All Implemented Interfaces:
Serializable, Comparable<RedisHashCommands.HashFieldSetOption>, Constable
- Enclosing interface:
RedisHashCommands
public static enum RedisHashCommands.HashFieldSetOption
extends Enum<RedisHashCommands.HashFieldSetOption>
HSETEX
command arguments for FNX
, FXX
.- Author:
- Viktoriya Kutsarova
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFXX
FNX
Do not set any additional command argument. -
Method Summary
Modifier and TypeMethodDescriptionFXX
FNX
upsert()
Do not set any additional command argument.Returns the enum constant of this class with the specified name.static RedisHashCommands.HashFieldSetOption[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UPSERT
Do not set any additional command argument. -
IF_NONE_EXIST
FNX
-
IF_ALL_EXIST
FXX
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
upsert
Do not set any additional command argument. -
ifNoneExist
FNX
-
ifAllExist
FXX
-