public class RedisMappingContext extends org.springframework.data.keyvalue.core.mapping.context.KeyValueMappingContext<RedisPersistentEntity<?>,RedisPersistentProperty>
MappingContext.| Constructor and Description |
|---|
RedisMappingContext()
Creates new
RedisMappingContext with empty MappingConfiguration. |
RedisMappingContext(MappingConfiguration mappingConfiguration)
Creates new
RedisMappingContext. |
| Modifier and Type | Method and Description |
|---|---|
protected <T> RedisPersistentEntity<T> |
createPersistentEntity(TypeInformation<T> typeInformation) |
protected RedisPersistentProperty |
createPersistentProperty(Property property,
RedisPersistentEntity<?> owner,
SimpleTypeHolder simpleTypeHolder) |
MappingConfiguration |
getMappingConfiguration()
Get the
MappingConfiguration used. |
void |
setFallbackKeySpaceResolver(org.springframework.data.keyvalue.core.mapping.KeySpaceResolver fallbackKeySpaceResolver)
Configures the
KeySpaceResolver to be used if not explicit key space is annotated to the domain type. |
addPersistentEntity, addPersistentEntity, afterPropertiesSet, getManagedTypes, getPersistentEntities, getPersistentEntity, getPersistentEntity, getPersistentEntity, getPersistentPropertyPath, getPersistentPropertyPath, getPersistentPropertyPath, hasPersistentEntityFor, initialize, setApplicationEventPublisher, setInitialEntitySet, setSimpleTypeHolder, setStrict, shouldCreatePersistentEntityForclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRequiredPersistentEntity, getRequiredPersistentEntity, getRequiredPersistentEntitypublic RedisMappingContext()
RedisMappingContext with empty MappingConfiguration.public RedisMappingContext(@Nullable MappingConfiguration mappingConfiguration)
RedisMappingContext.mappingConfiguration - can be null.public void setFallbackKeySpaceResolver(@Nullable org.springframework.data.keyvalue.core.mapping.KeySpaceResolver fallbackKeySpaceResolver)
KeySpaceResolver to be used if not explicit key space is annotated to the domain type.setFallbackKeySpaceResolver in class org.springframework.data.keyvalue.core.mapping.context.KeyValueMappingContext<RedisPersistentEntity<?>,RedisPersistentProperty>fallbackKeySpaceResolver - can be null.protected <T> RedisPersistentEntity<T> createPersistentEntity(TypeInformation<T> typeInformation)
createPersistentEntity in class org.springframework.data.keyvalue.core.mapping.context.KeyValueMappingContext<RedisPersistentEntity<?>,RedisPersistentProperty>protected RedisPersistentProperty createPersistentProperty(Property property, RedisPersistentEntity<?> owner, SimpleTypeHolder simpleTypeHolder)
createPersistentProperty in class org.springframework.data.keyvalue.core.mapping.context.KeyValueMappingContext<RedisPersistentEntity<?>,RedisPersistentProperty>public MappingConfiguration getMappingConfiguration()
MappingConfiguration used.Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.