/** * @Redis HSET * @param key * @param field * @param value * @return */ @Redis(versions="1.3.n") public <K extends Object> boolean hset(K key, K field, byte[] value) throws RedisException;
/** * @Redis HSET * @param <T> * @param key * @param field * @param object * @return */ @Redis(versions="1.3.4") public <K extends Object, T extends Serializable> boolean hset(K key, K field, T object) throws RedisException;
/** * * @Redis HDEL * @param key * @param field * @return true if the spec'd field exists for the spec'd (hash type) key * @throws RedisException */ @Redis(versions="1.3.n") public <K extends Object> boolean hdel(K key, K field) throws RedisException;
/** * * @Redis HKEYS * @param key * @return list of keys in the given hashtable. * @throws RedisException */ @Redis(versions="1.3.n") public <K extends Object> List<byte[]> hkeys(K key) throws RedisException;
/** * @Redis HSET * @param key * @param field * @param string * @return */ @Redis(versions="1.3.n") public <K extends Object> boolean hset(K key, K field, String string) throws RedisException;
/** * @throws RedisException */ @Redis(versions="2.0") public <K extends Object> JRedis discard () throws RedisException;
/** * @Redis HSET * @param key * @param field * @param string * @return */ @Redis(versions="1.3.n") public <K extends Object> Future<Boolean> hset(K key, K entry, String string);
/** * @Redis HSET * @param key * @param field * @param number * @return */ @Redis(versions="1.3.n") public <K extends Object> Future<Boolean> hset(K key, K entry, Number number);
/** * * @Redis HDEL * @param key * @param field * @return true if the spec'd field exists for the spec'd (hash type) key */ @Redis(versions="1.3.5") public <K extends Object> Future<Boolean> hdel(K key, K entry);
/** * @Redis HSET * @param key * @param field * @param value * @return */ @Redis(versions="1.3.n") public <K extends Object> Future<Boolean> hset(K key, K entry, byte[] value);
/** * @Redis HSET * @param key * @param field * @param value * @return */ @Redis(versions="1.3.n") public <K extends Object> boolean hset(K key, K field, byte[] value) throws RedisException;
/** * * @Redis HDEL * @param key * @param field * @return true if the spec'd field exists for the spec'd (hash type) key * @throws RedisException */ @Redis(versions="1.3.n") public <K extends Object> boolean hdel(K key, K field) throws RedisException;
/** * * @Redis HGETALL * @param key * @return the given hash as a Map<String, byte[]> * @throws RedisException */ @Redis(versions="1.3.n") public <K extends Object> Map<byte[], byte[]> hgetall(K key) throws RedisException;
/** * @Redis HSET * @param key * @param field * @param number * @return */ @Redis(versions="1.3.n") public Future<Boolean> hset(String key, String field, Number number);
/** * @Redis HGET * @param key * @param field * @return */ @Redis(versions="1.3.4") public Future<byte[]> hget(String key, String field);
/** * * @Redis HDEL * @param key * @param field * @return true if the spec'd field exists for the spec'd (hash type) key */ @Redis(versions="1.3.5") public Future<Boolean> hdel(String key, String field);
/** * @Redis ZINCRBY * @param setkey * @param score * @param member * @return * @throws RedisException */ @Redis(versions="1.07") public Double zincrby (String setkey, double score, byte[] member) throws RedisException; public Double zincrby (String setkey, double score, String stringValue) throws RedisException;
/** * * @Redis HVALS * @param key * @return list of values in the given hashtable. * @throws RedisException */ @Redis(versions="1.3.n") public List<byte[]> hvals(String key) throws RedisException;
/** * * @Redis HGETALL * @param key * @return the given hash as a Map<String, byte[]> * @throws RedisException */ @Redis(versions="1.3.n") public Map<String, byte[]> hgetall(String key) throws RedisException;
/** * * @Redis HLEN * @param key * @return # of fields/entries in the given hashtable. * @throws RedisException */ @Redis(versions="1.3.n") public <K extends Object> long hlen(K key) throws RedisException;