public class RedisMap<K,V> extends RedisObject implements FineMap<K,V>
codec, DEFAULT_ENCODE_CHARSET, name, nameBytes, RET_FAIL, RET_FAIL_OBJ, RET_SUCCESS, RET_SUCCESS_OBJBOOLEAN_CONVERTOR, EVAL_HSCAN_CONVERTOR, INT_CONVERTOR, LONG_CONVERTOR, MORE_THAN_ZERO, RPUSH_BOOLEAN| 构造器和说明 |
|---|
RedisMap(java.lang.String name,
RedisCollectionsClient collectionsClient,
RedisCollectionConfig config,
FineJedisPool pool) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clear()
直接删除该key
|
boolean |
containsKey(java.lang.Object key) |
protected boolean |
containsKeyOperation(java.lang.Object key)
----------------------------内部实现------------------------
|
boolean |
containsValue(java.lang.Object value) |
protected boolean |
containsValueOperation(V value) |
protected K |
decodeMapKey(byte[] value) |
protected V |
decodeMapValue(byte[] value) |
protected byte[] |
encodeMapKey(java.lang.Object value) |
protected byte[] |
encodeMapValue(java.lang.Object value) |
java.util.Set<java.util.Map.Entry<K,V>> |
entrySet() |
V |
get(java.lang.Object key) |
protected V |
getOperation(K key) |
protected com.fr.third.redis.clients.jedis.ScanResult<java.util.Map.Entry<byte[],byte[]>> |
getScanResult(long nextIterPos) |
protected com.fr.third.redis.clients.jedis.ScanResult<java.util.Map.Entry<byte[],byte[]>> |
getScanResult(long nextIterPos,
int count) |
boolean |
isEmpty() |
java.util.Set<K> |
keySet() |
V |
put(K key,
V value) |
void |
putAll(java.util.Map<? extends K,? extends V> m) |
protected void |
putAllOperation(java.util.Map<? extends K,? extends V> m) |
V |
putIfAbsent(K key,
V value) |
V |
putIfAbsentOperation(K key,
V value) |
protected V |
putOperation(K key,
V value) |
V |
remove(java.lang.Object key) |
boolean |
remove(java.lang.Object key,
java.lang.Object value) |
protected V |
removeOperation(K key) |
protected boolean |
removeOperation(java.lang.Object key,
java.lang.Object value) |
V |
replace(K key,
V value) |
boolean |
replace(K key,
V oldValue,
V newValue) |
protected V |
replaceOperation(K key,
V value) |
int |
size() |
java.util.Collection<V> |
values() |
append, bitcount, bitcount, bitfield, checkKey, checkValue, decodeValue, decodeValue, decodeValues, decr, del, delete, echo, encodeIntParameter, encodeLongParameter, encodeParameters, encodeString, encodeValue, encodeValue, eval, eval, eval, eval, evalsha, evalsha, evalsha, execute, execute, exists, expire, expireAt, geoadd, geoadd, get, getCodec, getCollectionsClient, getEncodeName, getName, getNameBytes, getParamsWithBinary, getrange, getScriptById, getSet, hdel, hexists, hget, hgetAll, hincrBy, hincrByFloat, hkeys, hlen, hmget, hmset, hscan, hscan, hset, hset, hsetnx, hstrlen, hvals, incr, incrBy, incrByFloat, lindex, linsert, llen, lpop, lpush, lpushx, lrange, lrem, lset, ltrim, persist, pexpire, pexpireAt, pfadd, pfcount, prefixName, psetex, pttl, restore, rpop, rpush, rpushx, sadd, scard, set, set, setnx, setrange, sismember, smembers, sort, sort, spop, spop, srandmember, srandmember, srem, sscan, sscan, strlen, substr, suffixName, toNameBytesList, toNameBytesList, toNameBytesList, toNamesBytesList, ttl, type, unlink, zadd, zadd, zadd, zadd, zcard, zcount, zcount, zincrby, zincrby, zrange, zrangeByScore, zrangeByScore, zrangeByScore, zrangeByScore, zrangeByScoreWithScores, zrangeByScoreWithScores, zrangeByScoreWithScores, zrangeByScoreWithScores, zrangeWithScores, zrank, zrem, zremrangeByRank, zrevrange, zrevrangeByScore, zrevrangeByScore, zrevrangeByScore, zrevrangeByScore, zrevrangeByScoreWithScores, zrevrangeByScoreWithScores, zrevrangeByScoreWithScores, zrevrangeByScoreWithScores, zrevrangeWithScores, zrevrank, zscan, zscan, zscorepublic RedisMap(java.lang.String name,
RedisCollectionsClient collectionsClient,
RedisCollectionConfig config,
FineJedisPool pool)
public boolean containsKey(java.lang.Object key)
public boolean containsValue(java.lang.Object value)
public boolean remove(java.lang.Object key,
java.lang.Object value)
protected boolean containsKeyOperation(java.lang.Object key)
protected boolean containsValueOperation(V value)
protected boolean removeOperation(java.lang.Object key,
java.lang.Object value)
protected K decodeMapKey(byte[] value)
protected V decodeMapValue(byte[] value)
protected byte[] encodeMapValue(java.lang.Object value)
protected byte[] encodeMapKey(java.lang.Object value)
protected com.fr.third.redis.clients.jedis.ScanResult<java.util.Map.Entry<byte[],byte[]>> getScanResult(long nextIterPos)
protected com.fr.third.redis.clients.jedis.ScanResult<java.util.Map.Entry<byte[],byte[]>> getScanResult(long nextIterPos,
int count)