Package io.lettuce.core
Class ZStoreArgs.Builder
- java.lang.Object
-
- io.lettuce.core.ZStoreArgs.Builder
-
- Enclosing class:
- ZStoreArgs
public static class ZStoreArgs.Builder extends Object
Builder entry points forScanArgs
.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ZStoreArgs
max()
Creates newZStoreArgs
setting AGGREGATE MAX.static ZStoreArgs
min()
Creates newZStoreArgs
setting AGGREGATE MIN.static ZStoreArgs
sum()
Creates newZStoreArgs
setting AGGREGATE SUM.static ZStoreArgs
weights(double... weights)
Creates newZStoreArgs
setting WEIGHTS.static ZStoreArgs
weights(long[] weights)
Deprecated.useweights(double...)
.
-
-
-
Method Detail
-
weights
@Deprecated public static ZStoreArgs weights(long[] weights)
Deprecated.useweights(double...)
.Creates newZStoreArgs
setting WEIGHTS using long.- Returns:
- new
ZAddArgs
with WEIGHTS set. - See Also:
ZStoreArgs.weights(long[])
-
weights
public static ZStoreArgs weights(double... weights)
Creates newZStoreArgs
setting WEIGHTS.- Returns:
- new
ZAddArgs
with WEIGHTS set. - See Also:
ZStoreArgs.weights(double...)
-
sum
public static ZStoreArgs sum()
Creates newZStoreArgs
setting AGGREGATE SUM.- Returns:
- new
ZAddArgs
with AGGREGATE SUM set. - See Also:
ZStoreArgs.sum()
-
min
public static ZStoreArgs min()
Creates newZStoreArgs
setting AGGREGATE MIN.- Returns:
- new
ZAddArgs
with AGGREGATE MIN set. - See Also:
ZStoreArgs.sum()
-
max
public static ZStoreArgs max()
Creates newZStoreArgs
setting AGGREGATE MAX.- Returns:
- new
ZAddArgs
with AGGREGATE MAX set. - See Also:
ZStoreArgs.sum()
-
-