Interface HashBinaryCommands

All Known Subinterfaces:
JedisBinaryCommands
All Known Implementing Classes:
Jedis, JedisCluster, JedisPooled, JedisSentineled, JedisSharding, UnifiedJedis

public interface HashBinaryCommands
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    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 value)
     
    double
    hincrByFloat(byte[] key, byte[] field, double value)
     
    Set<byte[]>
    hkeys(byte[] key)
     
    long
    hlen(byte[] key)
     
    List<byte[]>
    hmget(byte[] key, byte[]... fields)
     
    hmset(byte[] key, Map<byte[],byte[]> hash)
     
    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)
     
    long
    hset(byte[] key, byte[] field, byte[] value)
     
    long
    hset(byte[] key, Map<byte[],byte[]> hash)
     
    long
    hsetnx(byte[] key, byte[] field, byte[] value)
     
    long
    hstrlen(byte[] key, byte[] field)
     
    List<byte[]>
    hvals(byte[] key)
     
  • Method Details

    • hset

      long hset(byte[] key, byte[] field, byte[] value)
    • hset

      long hset(byte[] key, Map<byte[],byte[]> hash)
    • hget

      byte[] hget(byte[] key, byte[] field)
    • hsetnx

      long hsetnx(byte[] key, byte[] field, byte[] value)
    • hmset

      String hmset(byte[] key, Map<byte[],byte[]> hash)
    • hmget

      List<byte[]> hmget(byte[] key, byte[]... fields)
    • 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

      Set<byte[]> hkeys(byte[] key)
    • hvals

      List<byte[]> hvals(byte[] key)
    • hgetAll

      Map<byte[],byte[]> hgetAll(byte[] key)
    • hrandfield

      byte[] hrandfield(byte[] key)
    • hrandfield

      List<byte[]> hrandfield(byte[] key, long count)
    • hrandfieldWithValues

      Map<byte[],byte[]> hrandfieldWithValues(byte[] key, long count)
    • hscan

      default ScanResult<Map.Entry<byte[],byte[]>> hscan(byte[] key, byte[] cursor)
    • hscan

      ScanResult<Map.Entry<byte[],byte[]>> hscan(byte[] key, byte[] cursor, ScanParams params)
    • hstrlen

      long hstrlen(byte[] key, byte[] field)