Package org.springframework.data.mongodb.core.mapping
@NonNullApi
package org.springframework.data.mongodb.core.mapping
Infrastructure for the MongoDB document-to-object mapping subsystem.
-
ClassDescriptionMongoDB specific
MongoPersistentEntity
implementation that adds Mongo specific meta-data such as the collection name and the like.MongoDB specificPersistentProperty
implementation.An annotation that indicates the annotated field is to be stored using aDBRef
.Identifies a domain object to be persisted to MongoDB.A custom pointer to a linked document to be used along withDocumentReference
for storing the linkage value.ADocumentReference
allows referencing entities in MongoDB using a flexible schema.Encrypted
provides data required for MongoDB Client Side Field Level Encryption that is applied during schema resolution.Annotation to define custom metadata for document fields.Enumeration of write strategies to define when a property is included for write conversion.Enumeration of field value types that can be used to represent aDocument
field value.Mark property as language field.Default implementation of aMappingContext
for MongoDB usingBasicMongoPersistentEntity
andBasicMongoPersistentProperty
as primary abstractions.MongoDB specificPersistentEntity
abstraction.MongoDB specificPersistentProperty
extension.SimpleConverter
implementation to transform aMongoPersistentProperty
into its field name.Simple constant holder for aSimpleTypeHolder
enriched with Mongo specific simple types.Utility to translate aMongoPersistentProperty
into a corresponding property from a differentMongoPersistentEntity
by looking it up by name.TheSharded
annotation provides meta information about the actual distribution of data.Value object representing an entities Shard Key used to distribute documents across a sharded MongoDB cluster.TextScore
marks the property to be considered as the on server calculated textScore when doing full text search.Identifies a domain object to be persisted to a MongoDB Time Series collection.The annotation to configure a value object as flattened out in the target document.Shortcut for an empty unwrapped property.Shortcut for a nullable unwrapped property.Load strategy to be usedUnwrapped.onEmpty()
.