public static class ZStoreArgs.Builder extends Object
ScanArgs.| Modifier and Type | Method and Description |
|---|---|
static ZStoreArgs |
max()
Creates new
ZStoreArgs setting AGGREGATE MAX. |
static ZStoreArgs |
min()
Creates new
ZStoreArgs setting AGGREGATE MIN. |
static ZStoreArgs |
sum()
Creates new
ZStoreArgs setting AGGREGATE SUM. |
static ZStoreArgs |
weights(double... weights)
Creates new
ZStoreArgs setting WEIGHTS. |
static ZStoreArgs |
weights(long[] weights)
Deprecated.
use
weights(double...). |
@Deprecated public static ZStoreArgs weights(long[] weights)
weights(double...).ZStoreArgs setting WEIGHTS using long.ZAddArgs with WEIGHTS set.ZStoreArgs.weights(long[])public static ZStoreArgs weights(double... weights)
ZStoreArgs setting WEIGHTS.ZAddArgs with WEIGHTS set.ZStoreArgs.weights(double...)public static ZStoreArgs sum()
ZStoreArgs setting AGGREGATE SUM.ZAddArgs with AGGREGATE SUM set.ZStoreArgs.sum()public static ZStoreArgs min()
ZStoreArgs setting AGGREGATE MIN.ZAddArgs with AGGREGATE MIN set.ZStoreArgs.sum()public static ZStoreArgs max()
ZStoreArgs setting AGGREGATE MAX.ZAddArgs with AGGREGATE MAX set.ZStoreArgs.sum()Copyright © 2021 lettuce.io. All rights reserved.