Uses of Class
org.springframework.data.redis.connection.zset.Weights
Packages that use 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
Methods in org.springframework.data.redis.connection with parameters of type WeightsModifier 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 LongDefaultedRedisConnection.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 sortedsetsand 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 LongDefaultedRedisConnection.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 sortedsetsand 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
Methods in org.springframework.data.redis.connection.zset that return WeightsModifier and TypeMethodDescriptionstatic WeightsWeights.fromSetCount(int count) Creates equalWeightsfor a number of input setscountwith a weight of one.Weights.multiply(double multiplier) Creates a newWeightsobject that contains all weights multiplied bymultiplierWeights.multiply(int multiplier) Creates a newWeightsobject that contains all weights multiplied bymultiplierstatic WeightsWeights.of(double... weights) static WeightsWeights.of(int... weights) -
Uses of Weights in org.springframework.data.redis.core
Methods in org.springframework.data.redis.core with parameters of type WeightsModifier and TypeMethodDescriptionBoundZSetOperations.intersectAndStore(Collection<K> otherKeys, K destKey, Aggregate aggregate, Weights weights) Intersect sorted sets at the bound key andotherKeysand 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 atkeyandotherKeysand store result in destinationdestKey.ZSetOperations.intersectAndStore(K key, Collection<K> otherKeys, K destKey, Aggregate aggregate, Weights weights) Intersect sorted sets atkeyandotherKeysand 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 andotherKeysand 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 atkeyandotherKeysand store result in destinationdestKey.ZSetOperations.unionAndStore(K key, Collection<K> otherKeys, K destKey, Aggregate aggregate, Weights weights) Union sorted sets atkeyandotherKeysand 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()}.