Uses of Class
org.springframework.data.redis.connection.zset.Weights
Package
Description
Connection package providing low-level abstractions for interacting with the various Redis 'drivers'/libraries.
Core package for integrating Redis with Spring concepts.
-
Uses of Weights in org.springframework.data.redis.connection
Modifier and TypeMethodDescriptionReactiveZSetCommands.ZAggregateCommand.applyWeights
(Weights weights) Applies theWeights
.ReactiveZSetCommands.ZAggregateStoreCommand.applyWeights
(Weights weights) Applies theWeights
.ReactiveZSetCommands.ZInterStoreCommand.applyWeights
(Weights weights) Applies theWeights
.ReactiveZSetCommands.ZUnionStoreCommand.applyWeights
(Weights weights) Applies theWeights
.default Long
DefaultedRedisConnection.zInterStore
(byte[] destKey, Aggregate aggregate, Weights weights, byte[]... sets) Deprecated.DefaultStringRedisConnection.zInterStore
(byte[] destKey, Aggregate aggregate, Weights weights, byte[]... sets) default reactor.core.publisher.Mono<Long>
ReactiveZSetCommands.zInterStore
(ByteBuffer destinationKey, List<ByteBuffer> sets, Weights weights) Intersect sorted sets and store result in destination destinationKey and apply weights to individual sets.default reactor.core.publisher.Mono<Long>
ReactiveZSetCommands.zInterStore
(ByteBuffer destinationKey, List<ByteBuffer> sets, Weights weights, Aggregate aggregateFunction) Intersect sorted sets by applying aggregateFunction and store result in destination destinationKey and apply weights to individual sets.RedisZSetCommands.zInterStore
(byte[] destKey, Aggregate aggregate, Weights weights, byte[]... sets) Intersect sortedsets
and store result in destinationdestKey
.DefaultedRedisConnection.zInterWithScores
(Aggregate aggregate, Weights weights, byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()
}.DefaultStringRedisConnection.zInterWithScores
(Aggregate aggregate, Weights weights, byte[]... sets) DefaultStringRedisConnection.zInterWithScores
(Aggregate aggregate, Weights weights, String... sets) default reactor.core.publisher.Flux<Tuple>
ReactiveZSetCommands.zInterWithScores
(List<ByteBuffer> sets, Weights weights) Intersect sorted sets and apply weights to individual sets.default reactor.core.publisher.Flux<Tuple>
ReactiveZSetCommands.zInterWithScores
(List<ByteBuffer> sets, Weights weights, Aggregate aggregateFunction) Intersect sorted sets by applying aggregateFunction and apply weights to individual sets.RedisZSetCommands.zInterWithScores
(Aggregate aggregate, Weights weights, byte[]... sets) Intersect sortedsets
.StringRedisConnection.zInterWithScores
(Aggregate aggregate, Weights weights, String... sets) Intersect sortedsets
.default Long
DefaultedRedisConnection.zUnionStore
(byte[] destKey, Aggregate aggregate, Weights weights, byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()
}.DefaultStringRedisConnection.zUnionStore
(byte[] destKey, Aggregate aggregate, Weights weights, byte[]... sets) default reactor.core.publisher.Mono<Long>
ReactiveZSetCommands.zUnionStore
(ByteBuffer destinationKey, List<ByteBuffer> sets, Weights weights) Union sorted sets and store result in destination destinationKey and apply weights to individual sets.default reactor.core.publisher.Mono<Long>
ReactiveZSetCommands.zUnionStore
(ByteBuffer destinationKey, List<ByteBuffer> sets, Weights weights, Aggregate aggregateFunction) Union sorted sets by applying aggregateFunction and store result in destination destinationKey and apply weights to individual sets.RedisZSetCommands.zUnionStore
(byte[] destKey, Aggregate aggregate, Weights weights, byte[]... sets) Union sortedsets
and store result in destinationdestKey
.DefaultedRedisConnection.zUnionWithScores
(Aggregate aggregate, Weights weights, byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()
}.DefaultStringRedisConnection.zUnionWithScores
(Aggregate aggregate, Weights weights, byte[]... sets) DefaultStringRedisConnection.zUnionWithScores
(Aggregate aggregate, Weights weights, String... sets) default reactor.core.publisher.Flux<Tuple>
ReactiveZSetCommands.zUnionWithScores
(List<ByteBuffer> sets, Weights weights) Union sorted sets and apply weights to individual sets.default reactor.core.publisher.Flux<Tuple>
ReactiveZSetCommands.zUnionWithScores
(List<ByteBuffer> sets, Weights weights, Aggregate aggregateFunction) Union sorted sets by applying aggregateFunction and apply weights to individual sets.RedisZSetCommands.zUnionWithScores
(Aggregate aggregate, Weights weights, byte[]... sets) Union sortedsets
.StringRedisConnection.zUnionWithScores
(Aggregate aggregate, Weights weights, String... sets) Union sortedsets
. -
Uses of Weights in org.springframework.data.redis.connection.zset
Modifier and TypeMethodDescriptionstatic Weights
Weights.fromSetCount
(int count) Creates equalWeights
for a number of input setscount
with a weight of one.Weights.multiply
(double multiplier) Creates a newWeights
object that contains all weights multiplied bymultiplier
Weights.multiply
(int multiplier) Creates a newWeights
object that contains all weights multiplied bymultiplier
static Weights
Weights.of
(double... weights) static Weights
Weights.of
(int... weights) -
Uses of Weights in org.springframework.data.redis.core
Modifier and TypeMethodDescriptionBoundZSetOperations.intersectAndStore
(Collection<K> otherKeys, K destKey, Aggregate aggregate, Weights weights) Intersect sorted sets at the bound key andotherKeys
and store result in destinationdestKey
.reactor.core.publisher.Mono<Long>
ReactiveZSetOperations.intersectAndStore
(K key, Collection<K> otherKeys, K destKey, Aggregate aggregate, Weights weights) Intersect sorted sets atkey
andotherKeys
and store result in destinationdestKey
.ZSetOperations.intersectAndStore
(K key, Collection<K> otherKeys, K destKey, Aggregate aggregate, Weights weights) Intersect sorted sets atkey
andotherKeys
and store result in destinationdestKey
.BoundZSetOperations.intersectWithScores
(Collection<K> otherKeys, Aggregate aggregate, Weights weights) Intersect sortedsets
.reactor.core.publisher.Flux<ZSetOperations.TypedTuple<V>>
ReactiveZSetOperations.intersectWithScores
(K key, Collection<K> otherKeys, Aggregate aggregate, Weights weights) Intersect sortedsets
.ZSetOperations.intersectWithScores
(K key, Collection<K> otherKeys, Aggregate aggregate, Weights weights) Intersect sortedsets
.BoundZSetOperations.unionAndStore
(Collection<K> otherKeys, K destKey, Aggregate aggregate, Weights weights) Union sorted sets at the bound key andotherKeys
and store result in destinationdestKey
.reactor.core.publisher.Mono<Long>
ReactiveZSetOperations.unionAndStore
(K key, Collection<K> otherKeys, K destKey, Aggregate aggregate, Weights weights) Union sorted sets atkey
andotherKeys
and store result in destinationdestKey
.ZSetOperations.unionAndStore
(K key, Collection<K> otherKeys, K destKey, Aggregate aggregate, Weights weights) Union sorted sets atkey
andotherKeys
and store result in destinationdestKey
.BoundZSetOperations.unionWithScores
(Collection<K> otherKeys, Aggregate aggregate, Weights weights) Union sortedsets
.reactor.core.publisher.Flux<ZSetOperations.TypedTuple<V>>
ReactiveZSetOperations.unionWithScores
(K key, Collection<K> otherKeys, Aggregate aggregate, Weights weights) Union sortedsets
.ZSetOperations.unionWithScores
(K key, Collection<K> otherKeys, Aggregate aggregate, Weights weights) Union sortedsets
.
RedisCommandsProvider.zSetCommands()
}.