Class RedisZSetCommands.ZAddArgs
java.lang.Object
org.springframework.data.redis.connection.RedisZSetCommands.ZAddArgs
- Enclosing interface:
- RedisZSetCommands
ZADD specific arguments. Looking of the
INCR flag? Use the ZINCRBY operation instead.- Since:
- 2.5
- See Also:
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionch()Only update elements that already exist.booleanOnly update elements that already exist.static RedisZSetCommands.ZAddArgsempty()booleangt()Only update existing elements if the new score is greater than the current score.inthashCode()static RedisZSetCommands.ZAddArgsifExists()static RedisZSetCommands.ZAddArgsbooleanisEmpty()lt()Only update existing elements if the new score is less than the current score.nx()Only update elements that already exist.xx()Don't update already existing elements.
- 
Method Details- 
empty- Returns:
- new instance of RedisZSetCommands.ZAddArgswithout any flags set.
 
- 
ifNotExists- Returns:
- new instance of RedisZSetCommands.ZAddArgswithoutRedisZSetCommands.ZAddArgs.Flag.NXset.
 
- 
ifExists- Returns:
- new instance of RedisZSetCommands.ZAddArgswithoutRedisZSetCommands.ZAddArgs.Flag.NXset.
 
- 
nxOnly update elements that already exist.- Returns:
- this.
 
- 
xxDon't update already existing elements.- Returns:
- this.
 
- 
ltOnly update existing elements if the new score is less than the current score.- Returns:
- this.
 
- 
gtOnly update existing elements if the new score is greater than the current score.- Returns:
- this.
 
- 
chOnly update elements that already exist.- Returns:
- this.
 
- 
containsOnly update elements that already exist.- Returns:
- this.
 
- 
isEmptypublic boolean isEmpty()- Returns:
- true if no flags set.
 
- 
equals
- 
hashCodepublic int hashCode()
 
-