Class DefaultRedisTypeMapper

java.lang.Object
org.springframework.data.convert.DefaultTypeMapper<Bucket.BucketPropertyPath>
org.springframework.data.redis.core.convert.DefaultRedisTypeMapper
All Implemented Interfaces:
Aware, BeanClassLoaderAware, TypeMapper<Bucket.BucketPropertyPath>, RedisTypeMapper

public class DefaultRedisTypeMapper extends DefaultTypeMapper<Bucket.BucketPropertyPath> implements RedisTypeMapper
Default implementation of RedisTypeMapper allowing configuration of the key to lookup and store type information via Bucket.BucketPropertyPath in buckets. The key defaults to DEFAULT_TYPE_KEY. Actual type-to-byte[] conversion and back is done in DefaultRedisTypeMapper.BucketTypeAliasAccessor.
Since:
2.1
Author:
Mark Paluch