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) ReactiveZSetCommands.zInterStore(ByteBuffer destinationKey, List<ByteBuffer> sets, Weights weights) Intersect sorted sets and store result in destination destinationKey and apply weights to individual sets.ReactiveZSetCommands.zInterStore(ByteBuffer destinationKey, List<ByteBuffer> sets, Weights weights, @Nullable Aggregate aggregateFunction) Intersect sorted sets by applying aggregateFunction and store result in destination destinationKey and apply weights to individual sets.RedisZSetCommands.zInterStore(byte @NonNull [] destKey, @NonNull Aggregate aggregate, @NonNull Weights weights, byte @NonNull [] @NonNull ... 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) @Nullable Set<StringRedisConnection.StringTuple>DefaultStringRedisConnection.zInterWithScores(Aggregate aggregate, Weights weights, String... sets) ReactiveZSetCommands.zInterWithScores(List<ByteBuffer> sets, Weights weights) Intersect sorted sets and apply weights to individual sets.ReactiveZSetCommands.zInterWithScores(List<ByteBuffer> sets, Weights weights, @Nullable Aggregate aggregateFunction) Intersect sorted sets by applying aggregateFunction and apply weights to individual sets.RedisZSetCommands.zInterWithScores(@NonNull Aggregate aggregate, @NonNull Weights weights, byte @NonNull [] @NonNull ... sets) Intersect sortedsets.StringRedisConnection.zInterWithScores(@NonNull Aggregate aggregate, @NonNull Weights weights, @NonNull String @NonNull ... 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) ReactiveZSetCommands.zUnionStore(ByteBuffer destinationKey, List<ByteBuffer> sets, Weights weights) Union sorted sets and store result in destination destinationKey and apply weights to individual sets.ReactiveZSetCommands.zUnionStore(ByteBuffer destinationKey, List<ByteBuffer> sets, Weights weights, @Nullable Aggregate aggregateFunction) Union sorted sets by applying aggregateFunction and store result in destination destinationKey and apply weights to individual sets.RedisZSetCommands.zUnionStore(byte @NonNull [] destKey, @NonNull Aggregate aggregate, @NonNull Weights weights, byte @NonNull [] @NonNull ... 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) @Nullable Set<StringRedisConnection.StringTuple>DefaultStringRedisConnection.zUnionWithScores(Aggregate aggregate, Weights weights, String... sets) ReactiveZSetCommands.zUnionWithScores(List<ByteBuffer> sets, Weights weights) Union sorted sets and apply weights to individual sets.ReactiveZSetCommands.zUnionWithScores(List<ByteBuffer> sets, Weights weights, @Nullable Aggregate aggregateFunction) Union sorted sets by applying aggregateFunction and apply weights to individual sets.RedisZSetCommands.zUnionWithScores(@NonNull Aggregate aggregate, @NonNull Weights weights, byte @NonNull [] @NonNull ... sets) Union sortedsets.StringRedisConnection.zUnionWithScores(@NonNull Aggregate aggregate, @NonNull Weights weights, @NonNull String @NonNull ... 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(@NonNull Collection<@NonNull K> otherKeys, @NonNull K destKey, @NonNull Aggregate aggregate, @NonNull Weights weights) Intersect sorted sets at the bound key andotherKeysand store result in destinationdestKey.ReactiveZSetOperations.intersectAndStore(@NonNull K key, @NonNull Collection<@NonNull K> otherKeys, @NonNull K destKey, @NonNull Aggregate aggregate, @NonNull Weights weights) Intersect sorted sets atkeyandotherKeysand store result in destinationdestKey.ZSetOperations.intersectAndStore(@NonNull K key, @NonNull Collection<@NonNull K> otherKeys, @NonNull K destKey, @NonNull Aggregate aggregate, @NonNull Weights weights) Intersect sorted sets atkeyandotherKeysand store result in destinationdestKey.Set<@NonNull ZSetOperations.TypedTuple<V>>BoundZSetOperations.intersectWithScores(@NonNull Collection<@NonNull K> otherKeys, @NonNull Aggregate aggregate, @NonNull Weights weights) Intersect sortedsets.ReactiveZSetOperations.intersectWithScores(@NonNull K key, @NonNull Collection<@NonNull K> otherKeys, @NonNull Aggregate aggregate, @NonNull Weights weights) Intersect sortedsets.Set<@NonNull ZSetOperations.TypedTuple<V>>ZSetOperations.intersectWithScores(@NonNull K key, @NonNull Collection<@NonNull K> otherKeys, @NonNull Aggregate aggregate, @NonNull Weights weights) Intersect sortedsets.BoundZSetOperations.unionAndStore(@NonNull Collection<@NonNull K> otherKeys, @NonNull K destKey, @NonNull Aggregate aggregate, @NonNull Weights weights) Union sorted sets at the bound key andotherKeysand store result in destinationdestKey.ReactiveZSetOperations.unionAndStore(@NonNull K key, @NonNull Collection<@NonNull K> otherKeys, @NonNull K destKey, @NonNull Aggregate aggregate, @NonNull Weights weights) Union sorted sets atkeyandotherKeysand store result in destinationdestKey.ZSetOperations.unionAndStore(@NonNull K key, @NonNull Collection<@NonNull K> otherKeys, @NonNull K destKey, @NonNull Aggregate aggregate, @NonNull Weights weights) Union sorted sets atkeyandotherKeysand store result in destinationdestKey.Set<@NonNull ZSetOperations.TypedTuple<V>>BoundZSetOperations.unionWithScores(@NonNull Collection<@NonNull K> otherKeys, @NonNull Aggregate aggregate, @NonNull Weights weights) Union sortedsets.ReactiveZSetOperations.unionWithScores(@NonNull K key, @NonNull Collection<@NonNull K> otherKeys, @NonNull Aggregate aggregate, @NonNull Weights weights) Union sortedsets.Set<@NonNull ZSetOperations.TypedTuple<V>>ZSetOperations.unionWithScores(@NonNull K key, @NonNull Collection<@NonNull K> otherKeys, @NonNull Aggregate aggregate, @NonNull Weights weights) Union sortedsets.
RedisCommandsProvider.zSetCommands()}.