public class ZStoreArgs extends Object
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.
|
@Deprecated public static ZStoreArgs weights(long[] weights)
weights(double...)
weights
- must not be null.this
ZStoreArgs
.public ZStoreArgs weights(double... weights)
weights
- must not be null.this
ZStoreArgs
.public ZStoreArgs sum()
this
ZStoreArgs
.public ZStoreArgs min()
this
ZStoreArgs
.public ZStoreArgs max()
this
ZStoreArgs
.Copyright © 2018 lettuce.io. All rights reserved.