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 SummaryModifier and TypeMethodDescriptionaggregateUsing(Aggregate aggregateFunction) Applies a specificAggregatefunction.applyWeights(List<Double> weights) Applies theCollectionof weights.applyWeights(Weights weights) Applies theWeights.sets(List<ByteBuffer> keys) Creates a newReactiveZSetCommands.ZInterStoreCommandgiven aListof keys.storeAs(ByteBuffer key) Applies the key at which the result is stored.Methods inherited from class org.springframework.data.redis.connection.ReactiveZSetCommands.ZAggregateStoreCommandgetAggregateFunction, getSourceKeys, getWeightsMethods inherited from class org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommandgetKeyMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.data.redis.connection.ReactiveRedisConnection.CommandgetName
- 
Method Details- 
setsCreates a newReactiveZSetCommands.ZInterStoreCommandgiven aListof keys.- Parameters:
- keys- must not be null.
- Returns:
- a new ReactiveZSetCommands.ZInterStoreCommandforListof keys.
 
- 
applyWeightsApplies theCollectionof weights. Constructs a new command instance with all previously configured properties.- Overrides:
- applyWeightsin class- ReactiveZSetCommands.ZAggregateStoreCommand
- Parameters:
- weights- must not be null.
- Returns:
- a new ReactiveZSetCommands.ZInterStoreCommandwith weights applied.
 
- 
applyWeightsApplies theWeights. Constructs a new command instance with all previously configured properties.- Overrides:
- applyWeightsin class- ReactiveZSetCommands.ZAggregateStoreCommand
- Parameters:
- weights- must not be null.
- Returns:
- a new ReactiveZSetCommands.ZInterStoreCommandwith weights applied.
- Since:
- 2.1
 
- 
aggregateUsingpublic ReactiveZSetCommands.ZInterStoreCommand aggregateUsing(@Nullable Aggregate aggregateFunction) Applies a specificAggregatefunction. Constructs a new command instance with all previously configured properties.- Overrides:
- aggregateUsingin class- ReactiveZSetCommands.ZAggregateStoreCommand
- Parameters:
- aggregateFunction- can be null.
- Returns:
- a new ReactiveZSetCommands.ZInterStoreCommandwithAggregateapplied.
 
- 
storeAsApplies the key at which the result is stored. Constructs a new command instance with all previously configured properties.- Overrides:
- storeAsin class- ReactiveZSetCommands.ZAggregateStoreCommand
- Parameters:
- key- must not be null.
- Returns:
- a new ReactiveZSetCommands.ZInterStoreCommandwith key applied.
 
 
-