Module spring.data.redis
Class DecoratingStringHashMapper<T>
java.lang.Object
org.springframework.data.redis.hash.DecoratingStringHashMapper<T>
- All Implemented Interfaces:
HashMapper<T,String, String>
Delegating hash mapper used for flattening objects into Strings. Suitable when dealing with mappers that support
Strings and type conversion.
- Author:
- Costin Leau
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DecoratingStringHashMapper
-
-
Method Details
-
fromHash
Description copied from interface:HashMapperConvert ahash(map) to an object.- Specified by:
fromHashin interfaceHashMapper<T,String, String> - Returns:
-
toHash
Description copied from interface:HashMapperConvert anobjectto a map that can be used with Redis hashes.- Specified by:
toHashin interfaceHashMapper<T,String, String> - Returns:
-