Class ReactiveZSetCommands.ZUnionStoreCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveZSetCommands.ZAggregateStoreCommand
org.springframework.data.redis.connection.ReactiveZSetCommands.ZUnionStoreCommand
- All Implemented Interfaces:
ReactiveRedisConnection.Command
- Enclosing interface:
ReactiveZSetCommands
public static class ReactiveZSetCommands.ZUnionStoreCommand
extends ReactiveZSetCommands.ZAggregateStoreCommand
ZUNIONSTORE command parameters.- Since:
- 2.0
- Author:
- Christoph Strobl
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionaggregateUsing(@Nullable Aggregate aggregateFunction) Applies a specificAggregatefunction.applyWeights(List<Double> weights) Applies theListof weights.applyWeights(Weights weights) Applies theWeights.sets(List<ByteBuffer> keys) Creates a newReactiveZSetCommands.ZUnionStoreCommandgiven aListof keys.storeAs(ByteBuffer key) Applies the key at which the result is stored.Methods inherited from class ReactiveZSetCommands.ZAggregateStoreCommand
getAggregateFunction, getSourceKeys, getWeightsMethods inherited from class ReactiveRedisConnection.KeyCommand
getKeyMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ReactiveRedisConnection.Command
getName
-
Method Details
-
sets
Creates a newReactiveZSetCommands.ZUnionStoreCommandgiven aListof keys.- Parameters:
keys- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZUnionStoreCommandforRange.
-
applyWeights
Applies theListof weights. Constructs a new command instance with all previously configured properties.- Overrides:
applyWeightsin classReactiveZSetCommands.ZAggregateStoreCommand- Parameters:
weights- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZUnionStoreCommandwith weights applied.
-
applyWeights
Applies theWeights. Constructs a new command instance with all previously configured properties.- Overrides:
applyWeightsin classReactiveZSetCommands.ZAggregateStoreCommand- Parameters:
weights- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZUnionStoreCommandwith weights applied. - Since:
- 2.1
-
aggregateUsing
public ReactiveZSetCommands.ZUnionStoreCommand aggregateUsing(@Nullable Aggregate aggregateFunction) Applies a specificAggregatefunction. Constructs a new command instance with all previously configured properties.- Overrides:
aggregateUsingin classReactiveZSetCommands.ZAggregateStoreCommand- Parameters:
aggregateFunction- can be null.- Returns:
- a new
ReactiveZSetCommands.ZUnionStoreCommandwithAggregateapplied.
-
storeAs
Applies the key at which the result is stored. Constructs a new command instance with all previously configured properties.- Overrides:
storeAsin classReactiveZSetCommands.ZAggregateStoreCommand- Parameters:
key- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZUnionStoreCommandwith key applied.
-