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