Package redis.clients.jedis.params
Class ZAddParams
- java.lang.Object
-
- redis.clients.jedis.params.Params
-
- redis.clients.jedis.params.ZAddParams
-
public class ZAddParams extends Params
-
-
Constructor Summary
Constructors Constructor Description ZAddParams()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ZAddParams
ch()
Modify the return value from the number of new elements added to the total number of elements changedbyte[][]
getByteParams(byte[] key, byte[]... args)
ZAddParams
nx()
Only set the key if it does not already exist.ZAddParams
xx()
Only set the key if it already exist.static ZAddParams
zAddParams()
-
-
-
Method Detail
-
zAddParams
public static ZAddParams zAddParams()
-
nx
public ZAddParams nx()
Only set the key if it does not already exist.- Returns:
- ZAddParams
-
xx
public ZAddParams xx()
Only set the key if it already exist.- Returns:
- ZAddParams
-
ch
public ZAddParams ch()
Modify the return value from the number of new elements added to the total number of elements changed- Returns:
- ZAddParams
-
getByteParams
public byte[][] getByteParams(byte[] key, byte[]... args)
-
-