org.springframework.data.keyvalue.redis.connection
Interface RedisHashCommands
- All Known Subinterfaces:
- RedisCommands, RedisConnection, StringRedisConnection
- All Known Implementing Classes:
- DefaultStringRedisConnection, JedisConnection, JredisConnection
public interface RedisHashCommands
Hash-specific commands supported by Redis.
- Author:
- Costin Leau
Method Summary |
Boolean |
hDel(byte[] key,
byte[] field)
|
Boolean |
hExists(byte[] key,
byte[] field)
|
byte[] |
hGet(byte[] key,
byte[] field)
|
Map<byte[],byte[]> |
hGetAll(byte[] key)
|
Long |
hIncrBy(byte[] key,
byte[] field,
long delta)
|
Set<byte[]> |
hKeys(byte[] key)
|
Long |
hLen(byte[] key)
|
List<byte[]> |
hMGet(byte[] key,
byte[]... fields)
|
void |
hMSet(byte[] key,
Map<byte[],byte[]> hashes)
|
Boolean |
hSet(byte[] key,
byte[] field,
byte[] value)
|
Boolean |
hSetNX(byte[] key,
byte[] field,
byte[] value)
|
List<byte[]> |
hVals(byte[] key)
|
hSet
Boolean hSet(byte[] key,
byte[] field,
byte[] value)
hSetNX
Boolean hSetNX(byte[] key,
byte[] field,
byte[] value)
hGet
byte[] hGet(byte[] key,
byte[] field)
hMGet
List<byte[]> hMGet(byte[] key,
byte[]... fields)
hMSet
void hMSet(byte[] key,
Map<byte[],byte[]> hashes)
hIncrBy
Long hIncrBy(byte[] key,
byte[] field,
long delta)
hExists
Boolean hExists(byte[] key,
byte[] field)
hDel
Boolean hDel(byte[] key,
byte[] field)
hLen
Long hLen(byte[] key)
hKeys
Set<byte[]> hKeys(byte[] key)
hVals
List<byte[]> hVals(byte[] key)
hGetAll
Map<byte[],byte[]> hGetAll(byte[] key)
Copyright © 2010-2011 SpringSource. All Rights Reserved.