Spring Data Key-Value

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

All Superinterfaces:
KeyBound<H>

public interface BoundHashOperations<H,HK,HV>
extends KeyBound<H>

Hash operations bound to a certain key.

Author:
Costin Leau

Method Summary
 void delete(Object key)
           
 Map<HK,HV> entries()
           
 HV get(Object key)
           
 RedisOperations<H,?> getOperations()
           
 boolean hasKey(Object key)
           
 Long increment(HK key, long delta)
           
 Set<HK> keys()
           
 Collection<HV> multiGet(Collection<HK> keys)
           
 void put(HK key, HV value)
           
 void putAll(Map<? extends HK,? extends HV> m)
           
 Boolean putIfAbsent(HK key, HV value)
           
 Long size()
           
 Collection<HV> values()
           
 
Methods inherited from interface org.springframework.data.keyvalue.redis.core.KeyBound
getKey
 

Method Detail

getOperations

RedisOperations<H,?> getOperations()

hasKey

boolean hasKey(Object key)

increment

Long increment(HK key,
               long delta)

get

HV get(Object key)

put

void put(HK key,
         HV value)

putIfAbsent

Boolean putIfAbsent(HK key,
                    HV value)

multiGet

Collection<HV> multiGet(Collection<HK> keys)

putAll

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

keys

Set<HK> keys()

values

Collection<HV> values()

size

Long size()

delete

void delete(Object key)

entries

Map<HK,HV> entries()

Spring Data Key-Value

Copyright © 2010-2011 SpringSource. All Rights Reserved.