public static class ReactiveZSetCommands.ZAggregateCommand extends Object implements ReactiveRedisConnection.Command
ZINTER
/ZUNION
command parameters.Modifier and Type | Method and Description |
---|---|
ReactiveZSetCommands.ZAggregateCommand |
aggregateUsing(RedisZSetCommands.Aggregate aggregateFunction)
Applies a specific
RedisZSetCommands.Aggregate function. |
ReactiveZSetCommands.ZAggregateCommand |
applyWeights(List<Double> weights)
Applies the
List of weights. |
ReactiveZSetCommands.ZAggregateCommand |
applyWeights(RedisZSetCommands.Weights weights)
Applies the
RedisZSetCommands.Weights . |
Optional<RedisZSetCommands.Aggregate> |
getAggregateFunction() |
ByteBuffer |
getKey() |
List<ByteBuffer> |
getSourceKeys() |
List<Double> |
getWeights() |
static ReactiveZSetCommands.ZAggregateCommand |
sets(List<ByteBuffer> keys)
Creates a new
ReactiveZSetCommands.ZAggregateCommand given a List of keys. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public static ReactiveZSetCommands.ZAggregateCommand sets(List<ByteBuffer> keys)
ReactiveZSetCommands.ZAggregateCommand
given a List
of keys.keys
- must not be null.ReactiveZSetCommands.ZAggregateCommand
for Range
.public ReactiveZSetCommands.ZAggregateCommand applyWeights(List<Double> weights)
List
of weights. Constructs a new command instance with all previously configured properties.weights
- must not be null.ReactiveZSetCommands.ZAggregateCommand
with weights applied.public ReactiveZSetCommands.ZAggregateCommand applyWeights(RedisZSetCommands.Weights weights)
RedisZSetCommands.Weights
. Constructs a new command instance with all previously configured properties.weights
- must not be null.ReactiveZSetCommands.ZAggregateCommand
with weights applied.public ReactiveZSetCommands.ZAggregateCommand 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.@Nullable public ByteBuffer getKey()
getKey
in interface ReactiveRedisConnection.Command
public List<ByteBuffer> getSourceKeys()
public Optional<RedisZSetCommands.Aggregate> getAggregateFunction()
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.