Add support for SMISMEMBER
through variadic SetOperations.isMember(K key, Object... o)
and ReactiveSetOperations
#2037
Labels
status: ideal-for-contribution
An issue that a contributor can help us with
theme: Redis 6.2
type: enhancement
A general enhancement
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
SMISMEMBER
as variadic variant ofSISMEMBER
. We want to support this command in Spring Data Redis.Solution
Add
List<Boolean> isMember(K key, Object... o)
toSetOperations
andReactiveSetOperations
. The reactive API should returnMono<List<Boolean>>
. Add aisMember(Object…)
toBoundSetOperations
and make sure to implement the methods on the classes implementing the interfaces.Extend the reactive and imperative command interfaces
ReactiveSetCommands
respectiveRedisSetCommands
includingDefaultedRedisConnection
. You will need to extendJedisClusterSetCommands
,JedisSetCommands
, andLettuceSetCommands
.AbstractConnectionIntegrationTests
is the main test class for connection-related tests.See also https://redis.io/commands/smismember for further information.
Steps to Fix
The text was updated successfully, but these errors were encountered: