Add support for ZMSCORE
through variadic ZSetOperations.score(K key, Object... o)
and ReactiveZSetOperations
#2038
Labels
Milestone
Hi, this is a
ideal-for-contribution
issue. This means we've worked to make it more legible to folks who don't haven't contributed much to our codebase before.Problem
Redis 6.2 introduced a new command
ZMSCORE
as variadic variant ofZSCORE
. We want to support this command in Spring Data Redis.Solution
Add
List<Double> score(K key, Object... o)
toZSetOperations
andReactiveZSetOperations
. The reactive API should returnMono<List<Double>>
. Add ascore(Object…)
method toBoundZSetOperations
and make sure to implement the methods on the classes implementing the interfaces.Extend the reactive and imperative command interfaces
ReactiveZSetCommands
respectiveRedisZSetCommands
includingDefaultedRedisConnection
. You will need to extendJedisClusterZSetCommands
,JedisZSetCommands
, andLettuceZSetCommands
.AbstractConnectionIntegrationTests
is the main test class for connection-related tests.See also https://redis.io/commands/zmscore for further information.
Steps to Fix
The text was updated successfully, but these errors were encountered: