Module spring.data.keyvalue
Package org.springframework.data.keyvalue.core.mapping
@NonNullApi
@NonNullFields
package org.springframework.data.keyvalue.core.mapping
Infrastructure for the Key-Value mapping subsystem and keyspace resolution.
-
ClassDescription
AnnotationBasedKeySpaceResolverlooks upPersistentand checks for presence of either meta or direct usage ofKeySpace.BasicKeyValuePersistentEntity<T,P extends KeyValuePersistentProperty<P>> KeyValuePersistentEntityimplementation that adds specific meta-data such as the keySpace.Most trivial implementation ofKeySpaceResolverreturning theClass.getName().KeySpaceResolverdetermines the keyspace a given type is assigned to.KeyValuePersistentEntity<T,P extends KeyValuePersistentProperty<P>> KeyValuePersistentProperty<P extends KeyValuePersistentProperty<P>>Most trivial implementation ofPersistentProperty.KeySpaceResolverprefixing the keyspace with a static prefix after determining the keyspace from a delegateKeySpaceResolver.