All Downloads are FREE. Search and download functionalities are using the official Maven repository.

redis.clients.jedis.commands.HashPipelineBinaryCommands Maven / Gradle / Ivy

The newest version!
package redis.clients.jedis.commands;

import java.util.List;
import java.util.Map;
import java.util.Set;

import redis.clients.jedis.Response;
import redis.clients.jedis.params.ScanParams;
import redis.clients.jedis.resps.ScanResult;

public interface HashPipelineBinaryCommands {

  Response hset(byte[] key, byte[] field, byte[] value);

  Response hset(byte[] key, Map hash);

  Response hget(byte[] key, byte[] field);

  Response hsetnx(byte[] key, byte[] field, byte[] value);

  Response hmset(byte[] key, Map hash);

  Response> hmget(byte[] key, byte[]... fields);

  Response hincrBy(byte[] key, byte[] field, long value);

  Response hincrByFloat(byte[] key, byte[] field, double value);

  Response hexists(byte[] key, byte[] field);

  Response hdel(byte[] key, byte[]... field);

  Response hlen(byte[] key);

  Response> hkeys(byte[] key);

  Response> hvals(byte[] key);

  Response> hgetAll(byte[] key);

  Response hrandfield(byte[] key);

  Response> hrandfield(byte[] key, long count);

  Response>> hrandfieldWithValues(byte[] key, long count);

  default Response>> hscan(byte[] key, byte[] cursor) {
    return hscan(key, cursor, new ScanParams());
  }

  Response>> hscan(byte[] key, byte[] cursor, ScanParams params);

  Response hstrlen(byte[] key, byte[] field);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy