public class ZStoreArgs extends Object implements CompositeArgument
ZStoreArgs.Builder and
chain the method calls: weights(1, 2).max().| Modifier and Type | Class and Description |
|---|---|
static class |
ZStoreArgs.Builder
Static builder methods.
|
| Constructor and Description |
|---|
ZStoreArgs() |
| Modifier and Type | Method and Description |
|---|---|
<K,V> void |
build(CommandArgs<K,V> args)
Build command arguments and contribute arguments to
CommandArgs. |
ZStoreArgs |
max() |
ZStoreArgs |
min() |
ZStoreArgs |
sum() |
ZStoreArgs |
weights(double... weights) |
static ZStoreArgs |
weights(long[] weights)
Deprecated.
|
@Deprecated public static ZStoreArgs weights(long[] weights)
public ZStoreArgs weights(double... weights)
public ZStoreArgs sum()
public ZStoreArgs min()
public ZStoreArgs max()
public <K,V> void build(CommandArgs<K,V> args)
CompositeArgumentCommandArgs.
Implementing classes are required to implement this method. Depending on the command nature and configured arguments, this method may contribute arguments but is not required to add arguments if none are specified.
build in interface CompositeArgumentK - Key type.V - Value type.args - the command arguments, must not be null.Copyright © 2018 lettuce.io. All rights reserved.