public interface HashCommands
Modifier and Type | Method and Description |
---|---|
long |
hdel(java.lang.String key,
java.lang.String... field) |
boolean |
hexists(java.lang.String key,
java.lang.String field) |
java.lang.String |
hget(java.lang.String key,
java.lang.String field) |
java.util.Map<java.lang.String,java.lang.String> |
hgetAll(java.lang.String key) |
long |
hincrBy(java.lang.String key,
java.lang.String field,
long value) |
double |
hincrByFloat(java.lang.String key,
java.lang.String field,
double value) |
java.util.Set<java.lang.String> |
hkeys(java.lang.String key) |
long |
hlen(java.lang.String key) |
java.util.List<java.lang.String> |
hmget(java.lang.String key,
java.lang.String... fields) |
java.lang.String |
hmset(java.lang.String key,
java.util.Map<java.lang.String,java.lang.String> hash) |
java.lang.String |
hrandfield(java.lang.String key) |
java.util.List<java.lang.String> |
hrandfield(java.lang.String key,
long count) |
java.util.List<java.util.Map.Entry<java.lang.String,java.lang.String>> |
hrandfieldWithValues(java.lang.String key,
long count) |
default ScanResult<java.util.Map.Entry<java.lang.String,java.lang.String>> |
hscan(java.lang.String key,
java.lang.String cursor) |
ScanResult<java.util.Map.Entry<java.lang.String,java.lang.String>> |
hscan(java.lang.String key,
java.lang.String cursor,
ScanParams params) |
long |
hset(java.lang.String key,
java.util.Map<java.lang.String,java.lang.String> hash) |
long |
hset(java.lang.String key,
java.lang.String field,
java.lang.String value) |
long |
hsetnx(java.lang.String key,
java.lang.String field,
java.lang.String value) |
long |
hstrlen(java.lang.String key,
java.lang.String field) |
java.util.List<java.lang.String> |
hvals(java.lang.String key) |
long hset(java.lang.String key, java.lang.String field, java.lang.String value)
long hset(java.lang.String key, java.util.Map<java.lang.String,java.lang.String> hash)
java.lang.String hget(java.lang.String key, java.lang.String field)
long hsetnx(java.lang.String key, java.lang.String field, java.lang.String value)
java.lang.String hmset(java.lang.String key, java.util.Map<java.lang.String,java.lang.String> hash)
java.util.List<java.lang.String> hmget(java.lang.String key, java.lang.String... fields)
long hincrBy(java.lang.String key, java.lang.String field, long value)
double hincrByFloat(java.lang.String key, java.lang.String field, double value)
boolean hexists(java.lang.String key, java.lang.String field)
long hdel(java.lang.String key, java.lang.String... field)
long hlen(java.lang.String key)
java.util.Set<java.lang.String> hkeys(java.lang.String key)
java.util.List<java.lang.String> hvals(java.lang.String key)
java.util.Map<java.lang.String,java.lang.String> hgetAll(java.lang.String key)
java.lang.String hrandfield(java.lang.String key)
java.util.List<java.lang.String> hrandfield(java.lang.String key, long count)
java.util.List<java.util.Map.Entry<java.lang.String,java.lang.String>> hrandfieldWithValues(java.lang.String key, long count)
default ScanResult<java.util.Map.Entry<java.lang.String,java.lang.String>> hscan(java.lang.String key, java.lang.String cursor)
ScanResult<java.util.Map.Entry<java.lang.String,java.lang.String>> hscan(java.lang.String key, java.lang.String cursor, ScanParams params)
long hstrlen(java.lang.String key, java.lang.String field)
Copyright © 2023. All rights reserved.