public class ZAddParams extends Params
| 构造器和说明 |
|---|
ZAddParams() |
| 限定符和类型 | 方法和说明 |
|---|---|
ZAddParams |
ch()
Modify the return value from the number of new elements added to the total number of elements
changed
|
byte[][] |
getByteParams(byte[] key,
byte[]... args) |
ZAddParams |
gt()
Only update existing elements if the new score is greater than the current score.
|
ZAddParams |
lt()
Only update existing elements if the new score is less than the current score.
|
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() |
getByteParams, getParam, toStringpublic static ZAddParams zAddParams()
public ZAddParams nx()
public ZAddParams xx()
public ZAddParams ch()
public ZAddParams gt()
public ZAddParams lt()
public byte[][] getByteParams(byte[] key,
byte[]... args)