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. |
ReactiveZSetCommands.ZInterStoreCommand |
applyWeights(RedisZSetCommands.Weights weights)
Applies the
RedisZSetCommands.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.
|
getKeyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic 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 applyWeights(RedisZSetCommands.Weights weights)
RedisZSetCommands.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(@Nullable 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–2021 Pivotal Software, Inc.. All rights reserved.