Class MappingRedisEntityInformation<T,ID>
java.lang.Object
org.springframework.data.repository.core.support.PersistentEntityInformation<T,ID>
org.springframework.data.redis.repository.core.MappingRedisEntityInformation<T,ID>
- Type Parameters:
T
-ID
-
- All Implemented Interfaces:
RedisEntityInformation<T,
,ID> EntityInformation<T,
,ID> EntityMetadata<T>
public class MappingRedisEntityInformation<T,ID>
extends PersistentEntityInformation<T,ID>
implements RedisEntityInformation<T,ID>
RedisEntityInformation
implementation using a RedisPersistentEntity
instance to lookup the necessary
information. Can be configured with a custom collection to be returned which will trump the one returned by the
RedisPersistentEntity
if given.- Author:
- Christoph Strobl, Mark Paluch
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.springframework.data.repository.core.support.PersistentEntityInformation
getId, getIdType, getJavaType, isNew
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.data.repository.core.EntityInformation
getId, getIdType, getRequiredId, isNew
Methods inherited from interface org.springframework.data.repository.core.EntityMetadata
getJavaType
-
Constructor Details
-
MappingRedisEntityInformation
- Parameters:
entity
-
-