Module io.inverno.mod.redis
Package io.inverno.mod.redis.operations
Interface RedisSetReactiveOperations<A,B>
- Type Parameters:
A
- key typeB
- value type
- All Known Subinterfaces:
RedisClient<A,
,B> RedisOperations<A,
,B> RedisTransactionalClient<A,
,B> RedisTransactionalOperations<A,
B>
- All Known Implementing Classes:
io.inverno.mod.redis.lettuce.internal.AbstractRedisClient
,PoolRedisClient
,PoolRedisClusterClient
public interface RedisSetReactiveOperations<A,B>
Redis Sets reactive commands.
- Since:
- 1.4
- Author:
- Jeremy Kuhn
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
SSCAN key cursor [MATCH pattern] [COUNT count]static interface
-
Method Summary
Modifier and TypeMethodDescriptionSADD key memberSADD key member [member ...]SCARD keySDIFF keySDIFF key [key ...]sdiffstore
(A destination, A key) SDIFF destination keysdiffstore
(A destination, Consumer<Keys<A>> keys) SDIFF destination key [key ...]SINTER keySINTER key [key ...]sintercard
(A key) SINTERCARD numkeys keysintercard
(A key, long limit) SINTERCARD numkeys key [LIMIT limit]sintercard
(Consumer<Keys<A>> keys) SINTERCARD numkeys key [key ...]sintercard
(Consumer<Keys<A>> keys, long limit) SINTERCARD numkeys key [key ...]sinterstore
(A destination, A key) SINTERSTORE destination keysinterstore
(A destination, Consumer<Keys<A>> keys) SINTERSTORE destination key [key ...]SISMEMBER key memberSMEMBERS keysmismember
(A key, Consumer<Values<B>> members) SMISMEMBER key member [member ...]SMOVE source destination memberSPOP keySPOP key [count]srandmember
(A key) SRANDMEMBER keysrandmember
(A key, long count) SRANDMEMBER key [count]SREM key memberSREM key member [member ...]sscan()
SSCAN key cursor [MATCH pattern] [COUNT count]SSCAN key cursorSUNION keySUNION key [key ...]sunionstore
(A destination, A key) SUNIONSTORE destination keysunionstore
(A destination, Consumer<Keys<A>> keys) SUNIONSTORE destination key [key ...]
-
Method Details
-
sadd
SADD key member- Parameters:
key
-member
-- Returns:
-
sadd
SADD key member [member ...]- Parameters:
key
-members
-- Returns:
-
scard
SCARD key- Parameters:
key
-- Returns:
-
sdiff
SDIFF key- Parameters:
key
-- Returns:
-
sdiff
SDIFF key [key ...]- Parameters:
keys
-- Returns:
-
sdiffstore
SDIFF destination key- Parameters:
destination
-key
-- Returns:
-
sdiffstore
SDIFF destination key [key ...]- Parameters:
destination
-keys
-- Returns:
-
sinter
SINTER key- Parameters:
key
-- Returns:
-
sinter
SINTER key [key ...]- Parameters:
keys
-- Returns:
-
sintercard
SINTERCARD numkeys key- Parameters:
key
-- Returns:
-
sintercard
SINTERCARD numkeys key [LIMIT limit]- Parameters:
key
-limit
-- Returns:
-
sintercard
SINTERCARD numkeys key [key ...]- Parameters:
keys
-- Returns:
-
sintercard
SINTERCARD numkeys key [key ...] [LIMIT limit]- Parameters:
keys
-limit
-- Returns:
-
sinterstore
SINTERSTORE destination key- Parameters:
destination
-key
-- Returns:
-
sinterstore
SINTERSTORE destination key [key ...]- Parameters:
destination
-keys
-- Returns:
-
sismember
SISMEMBER key member- Parameters:
key
-member
-- Returns:
-
smembers
SMEMBERS key- Parameters:
key
-- Returns:
-
smismember
SMISMEMBER key member [member ...]- Parameters:
key
-members
-- Returns:
-
smove
SMOVE source destination member- Parameters:
source
-destination
-member
-- Returns:
-
spop
SPOP key- Parameters:
key
-- Returns:
-
spop
SPOP key [count]- Parameters:
key
-count
-- Returns:
-
srandmember
SRANDMEMBER key- Parameters:
key
-- Returns:
-
srandmember
SRANDMEMBER key [count]- Parameters:
key
-count
-- Returns:
-
srem
SREM key member- Parameters:
key
-member
-- Returns:
-
srem
SREM key member [member ...]- Parameters:
key
-members
-- Returns:
-
sscan
SSCAN key cursor- Parameters:
key
-cursor
-- Returns:
-
sscan
RedisSetReactiveOperations.SetScanBuilder<A,B> sscan()SSCAN key cursor [MATCH pattern] [COUNT count]- Returns:
-
sunion
SUNION key- Parameters:
key
-- Returns:
-
sunion
SUNION key [key ...]- Parameters:
keys
-- Returns:
-
sunionstore
SUNIONSTORE destination key- Parameters:
destination
-key
-- Returns:
-
sunionstore
SUNIONSTORE destination key [key ...]- Parameters:
destination
-keys
-- Returns:
-