public static class ReactiveZSetCommands.ZAggregateStoreCommand extends ReactiveRedisConnection.KeyCommand
ZINTERSTORE/ZUNIONSTORE command parameters.| Modifier and Type | Method and Description |
|---|---|
ReactiveZSetCommands.ZAggregateStoreCommand |
aggregateUsing(RedisZSetCommands.Aggregate aggregateFunction)
Applies a specific
RedisZSetCommands.Aggregate function. |
ReactiveZSetCommands.ZAggregateStoreCommand |
applyWeights(List<Double> weights)
Applies the
List of weights. |
ReactiveZSetCommands.ZAggregateStoreCommand |
applyWeights(RedisZSetCommands.Weights weights)
Applies the
RedisZSetCommands.Weights. |
Optional<RedisZSetCommands.Aggregate> |
getAggregateFunction() |
List<ByteBuffer> |
getSourceKeys() |
List<Double> |
getWeights() |
static ReactiveZSetCommands.ZAggregateStoreCommand |
sets(List<ByteBuffer> keys)
Creates a new
ReactiveZSetCommands.ZAggregateStoreCommand given a List of keys. |
ReactiveZSetCommands.ZAggregateStoreCommand |
storeAs(ByteBuffer key)
Applies the key at which the result is stored.
|
getKeyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic static ReactiveZSetCommands.ZAggregateStoreCommand sets(List<ByteBuffer> keys)
ReactiveZSetCommands.ZAggregateStoreCommand given a List of keys.keys - must not be null.ReactiveZSetCommands.ZAggregateStoreCommand for Range.public ReactiveZSetCommands.ZAggregateStoreCommand applyWeights(List<Double> weights)
List of weights. Constructs a new command instance with all previously configured properties.weights - must not be null.ReactiveZSetCommands.ZAggregateStoreCommand with weights applied.public ReactiveZSetCommands.ZAggregateStoreCommand applyWeights(RedisZSetCommands.Weights weights)
RedisZSetCommands.Weights. Constructs a new command instance with all previously configured properties.weights - must not be null.ReactiveZSetCommands.ZAggregateStoreCommand with weights applied.public ReactiveZSetCommands.ZAggregateStoreCommand aggregateUsing(@Nullable RedisZSetCommands.Aggregate aggregateFunction)
RedisZSetCommands.Aggregate function. Constructs a new command instance with all previously configured
properties.aggregateFunction - can be null.ReactiveZSetCommands.ZAggregateStoreCommand with RedisZSetCommands.Aggregate applied.public ReactiveZSetCommands.ZAggregateStoreCommand storeAs(ByteBuffer key)
key - must not be null.ReactiveZSetCommands.ZAggregateStoreCommand with key applied.public List<ByteBuffer> getSourceKeys()
public Optional<RedisZSetCommands.Aggregate> getAggregateFunction()
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.