org.springframework.data.redis.hash
Interface HashMapper<T,K,V>

All Known Implementing Classes:
BeanUtilsHashMapper, DecoratingStringHashMapper, JacksonHashMapper

public interface HashMapper<T,K,V>

Core mapping contract between Java types and Redis hashes/maps. It's up to the implementation to support nested objects.


Method Summary
 T fromHash(Map<K,V> hash)
           
 Map<K,V> toHash(T object)
           
 

Method Detail

toHash

Map<K,V> toHash(T object)

fromHash

T fromHash(Map<K,V> hash)