Package redis.clients.jedis.commands
Interface HashBinaryCommands
- All Known Subinterfaces:
JedisBinaryCommands
- All Known Implementing Classes:
Jedis,JedisCluster,JedisPooled,JedisSentineled,JedisSharding,UnifiedJedis
public interface HashBinaryCommands
-
Method Summary
Modifier and TypeMethodDescriptionlonghdel(byte[] key, byte[]... field) booleanhexists(byte[] key, byte[] field) byte[]hget(byte[] key, byte[] field) Map<byte[], byte[]> hgetAll(byte[] key) longhincrBy(byte[] key, byte[] field, long value) doublehincrByFloat(byte[] key, byte[] field, double value) Set<byte[]> hkeys(byte[] key) longhlen(byte[] key) List<byte[]> hmget(byte[] key, byte[]... fields) byte[]hrandfield(byte[] key) List<byte[]> hrandfield(byte[] key, long count) Map<byte[], byte[]> hrandfieldWithValues(byte[] key, long count) default ScanResult<Map.Entry<byte[], byte[]>> hscan(byte[] key, byte[] cursor) ScanResult<Map.Entry<byte[], byte[]>> hscan(byte[] key, byte[] cursor, ScanParams params) longhset(byte[] key, byte[] field, byte[] value) longlonghsetnx(byte[] key, byte[] field, byte[] value) longhstrlen(byte[] key, byte[] field) List<byte[]> hvals(byte[] key)
-
Method Details
-
hset
long hset(byte[] key, byte[] field, byte[] value) -
hset
-
hget
byte[] hget(byte[] key, byte[] field) -
hsetnx
long hsetnx(byte[] key, byte[] field, byte[] value) -
hmset
-
hmget
-
hincrBy
long hincrBy(byte[] key, byte[] field, long value) -
hincrByFloat
double hincrByFloat(byte[] key, byte[] field, double value) -
hexists
boolean hexists(byte[] key, byte[] field) -
hdel
long hdel(byte[] key, byte[]... field) -
hlen
long hlen(byte[] key) -
hkeys
-
hvals
-
hgetAll
-
hrandfield
byte[] hrandfield(byte[] key) -
hrandfield
-
hrandfieldWithValues
-
hscan
-
hscan
-
hstrlen
long hstrlen(byte[] key, byte[] field)
-