Package redis.clients.jedis.params
Class ZAddParams
java.lang.Object
redis.clients.jedis.params.Params
redis.clients.jedis.params.ZAddParams
- All Implemented Interfaces:
IParams
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddParams(CommandArguments args) ch()Modify the return value from the number of new elements added to the total number of elements changedgt()Only update existing elements if the new score is greater than the current score.lt()Only update existing elements if the new score is less than the current score.nx()Only set the key if it does not already exist.xx()Only set the key if it already exist.static ZAddParams
-
Field Details
-
XX
- See Also:
-
NX
- See Also:
-
CH
- See Also:
-
LT
- See Also:
-
GT
- See Also:
-
-
Constructor Details
-
ZAddParams
public ZAddParams()
-
-
Method Details
-
zAddParams
-
nx
Only set the key if it does not already exist.- Returns:
- ZAddParams
-
xx
Only set the key if it already exist.- Returns:
- ZAddParams
-
ch
Modify the return value from the number of new elements added to the total number of elements changed- Returns:
- ZAddParams
-
gt
Only update existing elements if the new score is greater than the current score.- Returns:
- ZAddParams
-
lt
Only update existing elements if the new score is less than the current score.- Returns:
- ZAddParams
-
addParams
-