类 BucketHashOperations<HK,HV>

java.lang.Object
cn.aradin.spring.redis.starter.core.AbstractBucketOperations<String,Object>
cn.aradin.spring.redis.starter.core.BucketHashOperations<HK,HV>
所有已实现的接口:
org.springframework.data.redis.core.HashOperations<String,HK,HV>

public class BucketHashOperations<HK,HV> extends AbstractBucketOperations<String,Object> implements org.springframework.data.redis.core.HashOperations<String,HK,HV>
  • 方法详细资料

    • get

      public HV get(String key, Object hashKey)
      指定者:
      get 在接口中 org.springframework.data.redis.core.HashOperations<String,HK,HV>
    • hasKey

      public Boolean hasKey(String key, Object hashKey)
      指定者:
      hasKey 在接口中 org.springframework.data.redis.core.HashOperations<String,HK,HV>
    • increment

      public Long increment(String key, HK hashKey, long delta)
      指定者:
      increment 在接口中 org.springframework.data.redis.core.HashOperations<String,HK,HV>
    • increment

      public Double increment(String key, HK hashKey, double delta)
      指定者:
      increment 在接口中 org.springframework.data.redis.core.HashOperations<String,HK,HV>
    • randomKey

      @Nullable public HK randomKey(String key)
      指定者:
      randomKey 在接口中 org.springframework.data.redis.core.HashOperations<String,HK,HV>
    • randomEntry

      @Nullable public Map.Entry<HK,HV> randomEntry(String key)
      指定者:
      randomEntry 在接口中 org.springframework.data.redis.core.HashOperations<String,HK,HV>
    • randomKeys

      @Nullable @Deprecated public List<HK> randomKeys(String key, long count)
      已过时。
      指定者:
      randomKeys 在接口中 org.springframework.data.redis.core.HashOperations<String,HK,HV>
    • randomEntries

      @Nullable @Deprecated public Map<HK,HV> randomEntries(String key, long count)
      已过时。
      指定者:
      randomEntries 在接口中 org.springframework.data.redis.core.HashOperations<String,HK,HV>
    • keys

      public Set<HK> keys(String key)
      指定者:
      keys 在接口中 org.springframework.data.redis.core.HashOperations<String,HK,HV>
    • size

      public Long size(String key)
      指定者:
      size 在接口中 org.springframework.data.redis.core.HashOperations<String,HK,HV>
    • lengthOfValue

      public Long lengthOfValue(String key, HK hashKey)
      指定者:
      lengthOfValue 在接口中 org.springframework.data.redis.core.HashOperations<String,HK,HV>
    • putAll

      public void putAll(String key, Map<? extends HK,? extends HV> m)
      指定者:
      putAll 在接口中 org.springframework.data.redis.core.HashOperations<String,HK,HV>
    • multiGet

      public List<HV> multiGet(String key, Collection<HK> hashKeys)
      指定者:
      multiGet 在接口中 org.springframework.data.redis.core.HashOperations<String,HK,HV>
    • put

      public void put(String key, HK hashKey, HV value)
      指定者:
      put 在接口中 org.springframework.data.redis.core.HashOperations<String,HK,HV>
    • putIfAbsent

      public Boolean putIfAbsent(String key, HK hashKey, HV value)
      指定者:
      putIfAbsent 在接口中 org.springframework.data.redis.core.HashOperations<String,HK,HV>
    • values

      public List<HV> values(String key)
      指定者:
      values 在接口中 org.springframework.data.redis.core.HashOperations<String,HK,HV>
    • delete

      public Long delete(String key, Object... hashKeys)
      Not suggest array-operation for the ios
      指定者:
      delete 在接口中 org.springframework.data.redis.core.HashOperations<String,HK,HV>
    • entries

      public Map<HK,HV> entries(String key)
      指定者:
      entries 在接口中 org.springframework.data.redis.core.HashOperations<String,HK,HV>
    • scan

      public org.springframework.data.redis.core.Cursor<Map.Entry<HK,HV>> scan(String key, org.springframework.data.redis.core.ScanOptions options)
      指定者:
      scan 在接口中 org.springframework.data.redis.core.HashOperations<String,HK,HV>
    • scan

      public org.springframework.data.redis.core.Cursor<Map.Entry<HK,HV>> scan(String key, org.springframework.data.redis.core.ScanOptions options, int bucket)
      Multi bucket scan need traveral each bucket to avoid using too many connections
      参数:
      key -
      options -
      bucket - from 0 to ${bucketsize}-1
      返回: