public class ZAddArgs extends Object
ZAddArgs.Builder
and call the methods: xx()
or nx()
.
ZAddArgs
is a mutable object and instances should be used only once to avoid shared mutable state.Modifier and Type | Class and Description |
---|---|
static class |
ZAddArgs.Builder
Builder entry points for
ScanArgs . |
Constructor and Description |
---|
ZAddArgs() |
Modifier and Type | Method and Description |
---|---|
<K,V> void |
build(CommandArgs<K,V> args) |
ZAddArgs |
ch()
Modify the return value from the number of new elements added, to the total number of elements changed.
|
ZAddArgs |
nx()
Don't update already existing elements.
|
ZAddArgs |
xx()
Only update elements that already exist.
|
public ZAddArgs nx()
this
ZAddArgs
.public ZAddArgs xx()
this
ZAddArgs
.public ZAddArgs ch()
this
ZAddArgs
.public <K,V> void build(CommandArgs<K,V> args)
Copyright © 2018 lettuce.io. All rights reserved.