org.springframework.data.keyvalue.redis.connection
Interface RedisSetCommands
- All Known Subinterfaces:
- RedisCommands, RedisConnection, StringRedisConnection
- All Known Implementing Classes:
- DefaultStringRedisConnection, JedisConnection, JredisConnection
public interface RedisSetCommands
Set-specific commands supported by Redis.
- Author:
- Costin Leau
sAdd
Boolean sAdd(byte[] key,
byte[] value)
sRem
Boolean sRem(byte[] key,
byte[] value)
sPop
byte[] sPop(byte[] key)
sMove
Boolean sMove(byte[] srcKey,
byte[] destKey,
byte[] value)
sCard
Long sCard(byte[] key)
sIsMember
Boolean sIsMember(byte[] key,
byte[] value)
sInter
Set<byte[]> sInter(byte[]... keys)
sInterStore
void sInterStore(byte[] destKey,
byte[]... keys)
sUnion
Set<byte[]> sUnion(byte[]... keys)
sUnionStore
void sUnionStore(byte[] destKey,
byte[]... keys)
sDiff
Set<byte[]> sDiff(byte[]... keys)
sDiffStore
void sDiffStore(byte[] destKey,
byte[]... keys)
sMembers
Set<byte[]> sMembers(byte[] key)
sRandMember
byte[] sRandMember(byte[] key)
Copyright © 2010-2011 SpringSource. All Rights Reserved.