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

redis.clients.jedis.commands.HashPipelineCommands 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 HashPipelineCommands {

  Response hset(String key, String field, String value);

  Response hset(String key, Map hash);

  Response hget(String key, String field);

  Response hsetnx(String key, String field, String value);

  Response hmset(String key, Map hash);

  Response> hmget(String key, String... fields);

  Response hincrBy(String key, String field, long value);

  Response hincrByFloat(String key, String field, double value);

  Response hexists(String key, String field);

  Response hdel(String key, String... field);

  Response hlen(String key);

  Response> hkeys(String key);

  Response> hvals(String key);

  Response> hgetAll(String key);

  Response hrandfield(String key);

  Response> hrandfield(String key, long count);

  Response>> hrandfieldWithValues(String key, long count);

  default Response>> hscan(String key, String cursor) {
    return hscan(key, cursor, new ScanParams());
  }

  Response>> hscan(String key, String cursor, ScanParams params);

  Response hstrlen(String key, String field);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy