public class ZIncrByParams extends Params
| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String |
INCR |
private static java.lang.String |
NX |
private static java.lang.String |
XX |
| Modifier | Constructor and Description |
|---|---|
private |
ZIncrByParams() |
| Modifier and Type | Method and Description |
|---|---|
byte[][] |
getByteParams(byte[] key,
byte[]... args) |
ZIncrByParams |
nx()
Only set the key if it does not already exist.
|
ZIncrByParams |
xx()
Only set the key if it already exist.
|
static ZIncrByParams |
zIncrByParams() |
private static final java.lang.String XX
private static final java.lang.String NX
private static final java.lang.String INCR
public static ZIncrByParams zIncrByParams()
public ZIncrByParams nx()
public ZIncrByParams xx()
public byte[][] getByteParams(byte[] key,
byte[]... args)