public static class ReactiveZSetCommands.ZInterStoreCommand extends ReactiveZSetCommands.ZAggregateStoreCommand
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. |
ReactiveZSetCommands.ZInterStoreCommand |
applyWeights(RedisZSetCommands.Weights weights)
Applies the
RedisZSetCommands.Weights . |
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.
|
getAggregateFunction, getSourceKeys, getWeights
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 List
of keys.public ReactiveZSetCommands.ZInterStoreCommand applyWeights(List<Double> weights)
Collection
of weights. Constructs a new command instance with all previously configured
properties.applyWeights
in class ReactiveZSetCommands.ZAggregateStoreCommand
weights
- must not be null.ReactiveZSetCommands.ZInterStoreCommand
with weights applied.public ReactiveZSetCommands.ZInterStoreCommand 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.ZInterStoreCommand
with weights applied.public ReactiveZSetCommands.ZInterStoreCommand 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.ZInterStoreCommand
with RedisZSetCommands.Aggregate
applied.public ReactiveZSetCommands.ZInterStoreCommand storeAs(ByteBuffer key)
storeAs
in class ReactiveZSetCommands.ZAggregateStoreCommand
key
- must not be null.ReactiveZSetCommands.ZInterStoreCommand
with key applied.Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.