public class ZAddParams extends Params
| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String |
CH |
private static java.lang.String |
NX |
private static java.lang.String |
XX |
| Modifier | Constructor and Description |
|---|---|
private |
ZAddParams() |
| Modifier and Type | Method and Description |
|---|---|
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 |
nx()
Only set the key if it does not already exist.
|
ZAddParams |
xx()
Only set the key if it already exist.
|
static ZAddParams |
zAddParams() |
private static final java.lang.String XX
private static final java.lang.String NX
private static final java.lang.String CH
public static ZAddParams zAddParams()
public ZAddParams nx()
public ZAddParams xx()
public ZAddParams ch()
public byte[][] getByteParams(byte[] key,
byte[]... args)