Class ReactiveZSetCommands.ZInterStoreCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveZSetCommands.ZAggregateStoreCommand
org.springframework.data.redis.connection.ReactiveZSetCommands.ZInterStoreCommand
- All Implemented Interfaces:
ReactiveRedisConnection.Command
- Enclosing interface:
- ReactiveZSetCommands
public static class ReactiveZSetCommands.ZInterStoreCommand
extends ReactiveZSetCommands.ZAggregateStoreCommand
ZINTERSTORE
command parameters.- Author:
- Christoph Strobl
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionaggregateUsing
(Aggregate aggregateFunction) Applies a specificAggregate
function.applyWeights
(List<Double> weights) Applies theCollection
of weights.applyWeights
(Weights weights) Applies theWeights
.sets
(List<ByteBuffer> keys) Creates a newReactiveZSetCommands.ZInterStoreCommand
given aList
of keys.storeAs
(ByteBuffer key) Applies the key at which the result is stored.Methods inherited from class org.springframework.data.redis.connection.ReactiveZSetCommands.ZAggregateStoreCommand
getAggregateFunction, getSourceKeys, getWeights
Methods inherited from class org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
getKey
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.ZInterStoreCommand
given aList
of keys.- Parameters:
keys
- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZInterStoreCommand
forList
of keys.
-
applyWeights
Applies theCollection
of weights. Constructs a new command instance with all previously configured properties.- Overrides:
applyWeights
in classReactiveZSetCommands.ZAggregateStoreCommand
- Parameters:
weights
- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZInterStoreCommand
with weights applied.
-
applyWeights
Applies theWeights
. Constructs a new command instance with all previously configured properties.- Overrides:
applyWeights
in classReactiveZSetCommands.ZAggregateStoreCommand
- Parameters:
weights
- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZInterStoreCommand
with weights applied. - Since:
- 2.1
-
aggregateUsing
public ReactiveZSetCommands.ZInterStoreCommand aggregateUsing(@Nullable Aggregate aggregateFunction) Applies a specificAggregate
function. Constructs a new command instance with all previously configured properties.- Overrides:
aggregateUsing
in classReactiveZSetCommands.ZAggregateStoreCommand
- Parameters:
aggregateFunction
- can be null.- Returns:
- a new
ReactiveZSetCommands.ZInterStoreCommand
withAggregate
applied.
-
storeAs
Applies the key at which the result is stored. Constructs a new command instance with all previously configured properties.- Overrides:
storeAs
in classReactiveZSetCommands.ZAggregateStoreCommand
- Parameters:
key
- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZInterStoreCommand
with key applied.
-