Module spring.data.mongodb
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
MongoPersistentEntityimplementation that adds Mongo specific meta-data such as the collection name and the like.MongoDB specificPersistentPropertyimplementation.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 withDocumentReferencefor storing the linkage value.ADocumentReferenceallows referencing entities in MongoDB using a flexible schema.Encryptedprovides data required for MongoDB Client Side Field Level Encryption that is applied during schema resolution.ExplicitEncryptedis afieldlevelValueConverterannotation that indicates the target element is subject to encryption during the mapping process, in which a given domain type is converted into the store specific format.Annotation to define custom metadata for document fields.Enumeration of write strategies to define when a property is included for write conversion.Value Object representing a field name that should be used to read/write fields within the MongoDB document.Enumeration of field value types that can be used to represent aDocumentfield value.Mark property as language field.Value Object for representing a field to read/write within a MongoDBDocument.Builder forMongoField.Default implementation of aMappingContextfor MongoDB usingBasicMongoPersistentEntityandBasicMongoPersistentPropertyas primary abstractions.MongoDB specificPersistentEntityabstraction.MongoDB specificPersistentPropertyextension.SimpleConverterimplementation to transform aMongoPersistentPropertyinto its field name.Simple constant holder for aSimpleTypeHolderenriched with Mongo specific simple types.MongoDB-specific extension toVectorbased on Mongo'sBinaryVector.Utility to translate aMongoPersistentPropertyinto a corresponding property from a differentMongoPersistentEntityby looking it up by name.TheShardedannotation 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.TextScoremarks 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().