Spring Data Key-Value

org.springframework.data.keyvalue.redis.core
Interface HashOperations<H,HK,HV>


public interface HashOperations<H,HK,HV>

Redis map specific operations working on a hash.

Author:
Costin Leau

Method Summary
 void delete(H key, Object hashKey)
           
 Map<HK,HV> entries(H key)
           
 HV get(H key, Object hashKey)
           
 RedisOperations<H,?> getOperations()
           
 Boolean hasKey(H key, Object hashKey)
           
 Long increment(H key, HK hashKey, long delta)
           
 Set<HK> keys(H key)
           
 Collection<HV> multiGet(H key, Collection<HK> hashKeys)
           
 void put(H key, HK hashKey, HV value)
           
 void putAll(H key, Map<? extends HK,? extends HV> m)
           
 Boolean putIfAbsent(H key, HK hashKey, HV value)
           
 Long size(H key)
           
 Collection<HV> values(H key)
           
 

Method Detail

delete

void delete(H key,
            Object hashKey)

hasKey

Boolean hasKey(H key,
               Object hashKey)

get

HV get(H key,
       Object hashKey)

multiGet

Collection<HV> multiGet(H key,
                        Collection<HK> hashKeys)

increment

Long increment(H key,
               HK hashKey,
               long delta)

keys

Set<HK> keys(H key)

size

Long size(H key)

putAll

void putAll(H key,
            Map<? extends HK,? extends HV> m)

put

void put(H key,
         HK hashKey,
         HV value)

putIfAbsent

Boolean putIfAbsent(H key,
                    HK hashKey,
                    HV value)

values

Collection<HV> values(H key)

entries

Map<HK,HV> entries(H key)

getOperations

RedisOperations<H,?> getOperations()

Spring Data Key-Value

Copyright © 2010-2011 SpringSource. All Rights Reserved.