public static class ReactiveZSetCommands.ZUnionStoreCommand extends ReactiveZSetCommands.ZAggregateStoreCommand
ZUNIONSTORE
command parameters.Modifier and Type | Method and Description |
---|---|
ReactiveZSetCommands.ZUnionStoreCommand |
aggregateUsing(RedisZSetCommands.Aggregate aggregateFunction)
Applies a specific
RedisZSetCommands.Aggregate function. |
ReactiveZSetCommands.ZUnionStoreCommand |
applyWeights(List<Double> weights)
Applies the
List of weights. |
ReactiveZSetCommands.ZUnionStoreCommand |
applyWeights(RedisZSetCommands.Weights weights)
Applies the
RedisZSetCommands.Weights . |
static ReactiveZSetCommands.ZUnionStoreCommand |
sets(List<ByteBuffer> keys)
Creates a new
ReactiveZSetCommands.ZUnionStoreCommand given a List of keys. |
ReactiveZSetCommands.ZUnionStoreCommand |
storeAs(ByteBuffer key)
Applies the key at which the result is stored.
|
getAggregateFunction, getSourceKeys, getWeights
getKey
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public static ReactiveZSetCommands.ZUnionStoreCommand sets(List<ByteBuffer> keys)
ReactiveZSetCommands.ZUnionStoreCommand
given a List
of keys.keys
- must not be null.ReactiveZSetCommands.ZUnionStoreCommand
for Range
.public ReactiveZSetCommands.ZUnionStoreCommand applyWeights(List<Double> weights)
List
of weights. Constructs a new command instance with all previously configured properties.applyWeights
in class ReactiveZSetCommands.ZAggregateStoreCommand
weights
- must not be null.ReactiveZSetCommands.ZUnionStoreCommand
with weights applied.public ReactiveZSetCommands.ZUnionStoreCommand applyWeights(RedisZSetCommands.Weights weights)
RedisZSetCommands.Weights
. Constructs a new command instance with all previously configured properties.applyWeights
in class ReactiveZSetCommands.ZAggregateStoreCommand
weights
- must not be null.ReactiveZSetCommands.ZUnionStoreCommand
with weights applied.public ReactiveZSetCommands.ZUnionStoreCommand aggregateUsing(@Nullable RedisZSetCommands.Aggregate aggregateFunction)
RedisZSetCommands.Aggregate
function. Constructs a new command instance with all previously configured
properties.aggregateUsing
in class ReactiveZSetCommands.ZAggregateStoreCommand
aggregateFunction
- can be null.ReactiveZSetCommands.ZUnionStoreCommand
with RedisZSetCommands.Aggregate
applied.public ReactiveZSetCommands.ZUnionStoreCommand storeAs(ByteBuffer key)
storeAs
in class ReactiveZSetCommands.ZAggregateStoreCommand
key
- must not be null.ReactiveZSetCommands.ZUnionStoreCommand
with key applied.Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.