public static class ReactiveZSetCommands.ZUnionStoreCommand extends ReactiveRedisConnection.KeyCommand
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. |
Optional<RedisZSetCommands.Aggregate> |
getAggregateFunction() |
List<ByteBuffer> |
getSourceKeys() |
List<Double> |
getWeights() |
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.
|
getKeyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic 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.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.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.aggregateFunction - can be null.ReactiveZSetCommands.ZUnionStoreCommand with RedisZSetCommands.Aggregate applied.public ReactiveZSetCommands.ZUnionStoreCommand storeAs(ByteBuffer key)
key - must not be null.ReactiveZSetCommands.ZUnionStoreCommand with key applied.public List<ByteBuffer> getSourceKeys()
public Optional<RedisZSetCommands.Aggregate> getAggregateFunction()
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.