public class ZAddParams extends Params
Constructor and Description |
---|
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 |
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() |
public 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)
Copyright © 2021. All rights reserved.