Class ReactiveZSetCommands.ZAggregateCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveZSetCommands.ZAggregateCommand
- All Implemented Interfaces:
ReactiveRedisConnection.Command
- Enclosing interface:
- ReactiveZSetCommands
public static class ReactiveZSetCommands.ZAggregateCommand
extends Object
implements ReactiveRedisConnection.Command
ZINTER
/ZUNION
command parameters.- Since:
- 2.6
- Author:
- Christoph Strobl, Mark Paluch
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionaggregateUsing
(Aggregate aggregateFunction) Applies a specificAggregate
function.applyWeights
(List<Double> weights) Applies theList
of weights.applyWeights
(Weights weights) Applies theWeights
.getKey()
sets
(List<ByteBuffer> keys) Creates a newReactiveZSetCommands.ZAggregateCommand
given aList
of keys.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.data.redis.connection.ReactiveRedisConnection.Command
getName
-
Method Details
-
sets
Creates a newReactiveZSetCommands.ZAggregateCommand
given aList
of keys.- Parameters:
keys
- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZAggregateCommand
forRange
.
-
applyWeights
Applies theList
of weights. Constructs a new command instance with all previously configured properties.- Parameters:
weights
- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZAggregateCommand
with weights applied.
-
applyWeights
Applies theWeights
. Constructs a new command instance with all previously configured properties.- Parameters:
weights
- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZAggregateCommand
with weights applied. - Since:
- 2.1
-
aggregateUsing
Applies a specificAggregate
function. Constructs a new command instance with all previously configured properties.- Parameters:
aggregateFunction
- can be null.- Returns:
- a new
ReactiveZSetCommands.ZAggregateStoreCommand
withAggregate
applied.
-
getKey
- Specified by:
getKey
in interfaceReactiveRedisConnection.Command
- Returns:
- the key related to this command.
-
getSourceKeys
- Returns:
- never null.
-
getWeights
- Returns:
- never null.
-
getAggregateFunction
- Returns:
- never null.
-