Interface HashMapper<T,K,V>
- Type Parameters:
T- Object typeK- Redis Hash field typeV- Redis Hash value type
- All Known Implementing Classes:
BeanUtilsHashMapper,DecoratingStringHashMapper,Jackson2HashMapper,ObjectHashMapper
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.
- Author:
- Costin Leau, Mark Paluch
-
Method Summary
-
Method Details
-
toHash
Convert anobjectto a map that can be used with Redis hashes.- Parameters:
object-- Returns:
-
fromHash
Convert ahash(map) to an object.- Parameters:
hash-- Returns:
-