Interface RedisCommands
- All Known Implementing Classes:
RedisCommandsAdapterJedis
,RedisCommandsAdapterJedisCluster
public interface RedisCommands
This interface represents Jedis methods exhaustively which are used on storm-redis.
This is a workaround since Jedis and JedisCluster doesn't implement same interface for binary type of methods, and unify binary methods and string methods into one interface.
-
Method Summary
Modifier and TypeMethodDescriptiondel
(byte[] key) exists
(byte[] key) boolean
hdel
(byte[] key, byte[]... fields) byte[]
hget
(byte[] key, byte[] field) Map<byte[],
byte[]> hgetAll
(byte[] key) redis.clients.jedis.resps.ScanResult<Map.Entry<byte[],
byte[]>> hscan
(byte[] key, byte[] cursor, redis.clients.jedis.params.ScanParams params) rename
(byte[] oldkey, byte[] newkey)
-
Method Details
-
exists
-
exists
-
del
-
del
-
rename
-
rename
-
hget
byte[] hget(byte[] key, byte[] field) -
hgetAll
-
hgetAll
-
hmset
-
hmset
-
hdel
-
hscan
redis.clients.jedis.resps.ScanResult<Map.Entry<byte[],byte[]>> hscan(byte[] key, byte[] cursor, redis.clients.jedis.params.ScanParams params)
-