public class ZStoreArgs extends ZAggregateArgs
ZStoreArgs.Builder and
chain the method calls: weights(1, 2).max().
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 |
ZStoreArgs.Builder
Builder entry points for
ScanArgs. |
| Constructor and Description |
|---|
ZStoreArgs() |
| Modifier and Type | Method and Description |
|---|---|
ZStoreArgs |
max()
Aggregate scores of elements existing across multiple sets by using the highest score.
|
ZStoreArgs |
min()
Aggregate scores of elements existing across multiple sets by using the lowest score.
|
ZStoreArgs |
sum()
Aggregate scores of elements existing across multiple sets by summing up.
|
ZStoreArgs |
weights(double... weights)
Specify a multiplication factor for each input sorted set.
|
static ZStoreArgs |
weights(long[] weights)
Deprecated.
|
build@Deprecated public static ZStoreArgs weights(long[] weights)
weights(double...)weights - must not be null.this ZStoreArgs.public ZStoreArgs weights(double... weights)
weights in class ZAggregateArgsweights - must not be null.this ZStoreArgs.public ZStoreArgs sum()
sum in class ZAggregateArgsthis ZStoreArgs.public ZStoreArgs min()
min in class ZAggregateArgsthis ZStoreArgs.public ZStoreArgs max()
max in class ZAggregateArgsthis ZStoreArgs.Copyright © 2022 lettuce.io. All rights reserved.