Uses of Interface
org.springframework.data.mongodb.core.mapping.MongoPersistentProperty
Packages that use MongoPersistentProperty
Package
Description
MongoDB core support.
Support for the MongoDB aggregation framework.
Spring Data MongoDB specific converter infrastructure.
Converters integrating with
explicit encryption
mechanism of Client-Side Field Level Encryption.
Infrastructure for explicit
encryption mechanism of Client-Side Field Level Encryption.
Support for MongoDB document indexing.
Infrastructure for the MongoDB document-to-object mapping subsystem.
Query derivation mechanism for MongoDB specific repositories.
-
Uses of MongoPersistentProperty in org.springframework.data.mongodb.core
Methods in org.springframework.data.mongodb.core that return MongoPersistentPropertyModifier and TypeMethodDescriptionMongoJsonSchemaCreator.JsonSchemaPropertyContext.getProperty()The current property.Methods in org.springframework.data.mongodb.core with parameters of type MongoPersistentPropertyModifier and TypeMethodDescription<T> MongoPersistentEntity<T>MongoJsonSchemaCreator.JsonSchemaPropertyContext.resolveEntity(MongoPersistentProperty property) Obtain theMongoPersistentEntityfor a given property. -
Uses of MongoPersistentProperty in org.springframework.data.mongodb.core.aggregation
Constructor parameters in org.springframework.data.mongodb.core.aggregation with type arguments of type MongoPersistentPropertyModifierConstructorDescriptionRelaxedTypeBasedAggregationOperationContext(Class<?> type, MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty> mappingContext, QueryMapper mapper) Deprecated.Creates a newTypeBasedAggregationOperationContextfor the given type,MappingContextandQueryMapper.TypeBasedAggregationOperationContext(Class<?> type, MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty> mappingContext, QueryMapper mapper) Creates a newTypeBasedAggregationOperationContextfor the given type,MappingContextandQueryMapper.TypeBasedAggregationOperationContext(Class<?> type, MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty> mappingContext, QueryMapper mapper, FieldLookupPolicy lookupPolicy) Creates a newTypeBasedAggregationOperationContextfor the given type,MappingContextandQueryMapper. -
Uses of MongoPersistentProperty in org.springframework.data.mongodb.core.convert
Fields in org.springframework.data.mongodb.core.convert with type parameters of type MongoPersistentPropertyModifier and TypeFieldDescriptionprotected final MappingContext<? extends MongoPersistentEntity<?>,MongoPersistentProperty> MappingMongoConverter.mappingContextMethods in org.springframework.data.mongodb.core.convert that return MongoPersistentPropertyModifier and TypeMethodDescriptionMongoConversionContext.getProperty()QueryMapper.Field.getProperty()Returns the underlyingMongoPersistentPropertybacking the field.QueryMapper.MetadataBackedField.getProperty()Methods in org.springframework.data.mongodb.core.convert that return types with arguments of type MongoPersistentPropertyModifier and TypeMethodDescriptionQueryMapper.Field.getAssociation()QueryMapper.MetadataBackedField.getAssociation()protected Converter<MongoPersistentProperty,String> QueryMapper.MetadataBackedField.getAssociationConverter()Return theConverterto use for creating the mapped key of an association.MappingContext<? extends MongoPersistentEntity<?>,MongoPersistentProperty> MappingMongoConverter.getMappingContext()MappingContext<? extends MongoPersistentEntity<?>,MongoPersistentProperty> QueryMapper.getMappingContext()protected MappingContext<? extends MongoPersistentEntity<?>,MongoPersistentProperty> QueryMapper.MetadataBackedField.getMappingContext()protected PersistentPropertyPath<MongoPersistentProperty>QueryMapper.MetadataBackedField.getPath()protected Converter<MongoPersistentProperty,String> QueryMapper.MetadataBackedField.getPropertyConverter()Return theConverterto be used to created the mapped key.Methods in org.springframework.data.mongodb.core.convert with parameters of type MongoPersistentPropertyModifier and TypeMethodDescriptionQueryMapper.AssociationConverter.convert(MongoPersistentProperty source) protected ObjectQueryMapper.convertAssociation(Object source, MongoPersistentProperty property) Converts the given source assuming it's actually an association to another object.MappingMongoConverter.createCollection(Collection<?> collection, MongoPersistentProperty property) Writes the givenCollectionusing the givenMongoPersistentPropertyinformation.protected com.mongodb.DBRefMappingMongoConverter.createDBRef(Object target, MongoPersistentProperty property) LazyLoadingProxyFactory.createLazyLoadingProxy(MongoPersistentProperty property, DbRefResolverCallback callback, Object source) protected org.bson.conversions.BsonMappingMongoConverter.createMap(Map<Object, Object> map, MongoPersistentProperty property) Writes the givenMapusing the givenMongoPersistentPropertyinformation.MappingMongoConverter.ConversionContext.forProperty(MongoPersistentProperty property) Obtain aMappingMongoConverter.ConversionContextfor the givenMongoPersistentProperty.protected booleanDefaultReferenceResolver.isLazyReference(MongoPersistentProperty property) Check if the association expressed by the givenpropertyshould be resolved lazily.DbRefProxyHandler.populateId(MongoPersistentProperty property, com.mongodb.DBRef source, Object proxy) ReferenceLookupDelegate.readReference(MongoPersistentProperty property, Object source, org.springframework.data.mongodb.core.convert.ReferenceLookupDelegate.LookupFunction lookupFunction, ReferenceResolver.MongoEntityReader entityReader) Read the reference expressed by the given property.DbRefResolverCallback.resolve(MongoPersistentProperty property) Resolve the final object for the givenMongoPersistentProperty.DbRefResolver.resolveDbRef(MongoPersistentProperty property, com.mongodb.DBRef dbref, DbRefResolverCallback callback, DbRefProxyHandler proxyHandler) Resolves the givenDBRefinto an object of the givenMongoPersistentProperty's type.DefaultDbRefResolver.resolveDbRef(MongoPersistentProperty property, com.mongodb.DBRef dbref, DbRefResolverCallback callback, DbRefProxyHandler handler) NoOpDbRefResolver.resolveDbRef(MongoPersistentProperty property, com.mongodb.DBRef dbref, DbRefResolverCallback callback, DbRefProxyHandler proxyHandler) DefaultReferenceResolver.resolveReference(MongoPersistentProperty property, Object source, ReferenceLookupDelegate referenceLookupDelegate, ReferenceResolver.MongoEntityReader entityReader) NoOpDbRefResolver.resolveReference(MongoPersistentProperty property, Object source, ReferenceLookupDelegate referenceLookupDelegate, ReferenceResolver.MongoEntityReader entityReader) ReferenceResolver.resolveReference(MongoPersistentProperty property, Object source, ReferenceLookupDelegate referenceLookupDelegate, ReferenceResolver.MongoEntityReader entityReader) Resolve the association defined via the given property from a given source value.com.mongodb.DBRefMappingMongoConverter.toDBRef(Object object, MongoPersistentProperty referringProperty) com.mongodb.DBRefMongoWriter.toDBRef(Object object, MongoPersistentProperty referringProperty) Creates aDBRefto refer to the given object.MappingMongoConverter.toDocumentPointer(Object source, MongoPersistentProperty referringProperty) default DocumentPointer<?>MongoWriter.toDocumentPointer(Object source, MongoPersistentProperty referringProperty) Creates a theDocumentPointerrepresenting the link to another entity.protected voidMappingMongoConverter.writePropertyInternal(Object obj, org.springframework.data.mongodb.core.convert.DocumentAccessor accessor, MongoPersistentProperty prop, PersistentPropertyAccessor<?> persistentPropertyAccessor) Method parameters in org.springframework.data.mongodb.core.convert with type arguments of type MongoPersistentPropertyModifier and TypeMethodDescriptionMongoCustomConversions.MongoConverterConfigurationAdapter.configurePropertyConversions(Consumer<PropertyValueConverterRegistrar<MongoPersistentProperty>> configurationAdapter) Gateway to register property specific converters.protected QueryMapper.FieldQueryMapper.createPropertyField(MongoPersistentEntity<?> entity, String key, MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty> mappingContext) protected QueryMapper.FieldUpdateMapper.createPropertyField(MongoPersistentEntity<?> entity, String key, MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty> mappingContext) Constructors in org.springframework.data.mongodb.core.convert with parameters of type MongoPersistentPropertyModifierConstructorDescriptionLazyLoadingInterceptor(MongoPersistentProperty property, DbRefResolverCallback callback, Object source, PersistenceExceptionTranslator exceptionTranslator) MetadataBackedField(String name, MongoPersistentEntity<?> entity, MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty> context, MongoPersistentProperty property) Creates a newQueryMapper.MetadataBackedFieldwith the given name,MongoPersistentEntityandMappingContextwith the givenMongoPersistentProperty.MongoConversionContext(PropertyValueProvider<MongoPersistentProperty> accessor, MongoPersistentProperty persistentProperty, MongoConverter mongoConverter) MongoConversionContext(PropertyValueProvider<MongoPersistentProperty> accessor, MongoPersistentProperty persistentProperty, MongoConverter mongoConverter, SpELContext spELContext) Constructor parameters in org.springframework.data.mongodb.core.convert with type arguments of type MongoPersistentPropertyModifierConstructorDescriptionAssociationConverter(String name, Association<MongoPersistentProperty> association) Creates a newQueryMapper.AssociationConverterfor the givenAssociation.MappingMongoConverter(DbRefResolver dbRefResolver, MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty> mappingContext) MappingMongoConverter(MongoDatabaseFactory mongoDbFactory, MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty> mappingContext) Deprecated.MetadataBackedField(String name, MongoPersistentEntity<?> entity, MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty> context) Creates a newQueryMapper.MetadataBackedFieldwith the given name,MongoPersistentEntityandMappingContext.MetadataBackedField(String name, MongoPersistentEntity<?> entity, MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty> context, MongoPersistentProperty property) Creates a newQueryMapper.MetadataBackedFieldwith the given name,MongoPersistentEntityandMappingContextwith the givenMongoPersistentProperty.MongoConversionContext(PropertyValueProvider<MongoPersistentProperty> accessor, MongoPersistentProperty persistentProperty, MongoConverter mongoConverter) MongoConversionContext(PropertyValueProvider<MongoPersistentProperty> accessor, MongoPersistentProperty persistentProperty, MongoConverter mongoConverter, SpELContext spELContext) ReferenceLookupDelegate(MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty> mappingContext, SpELContext spELContext) Create a newReferenceLookupDelegate. -
Uses of MongoPersistentProperty in org.springframework.data.mongodb.core.convert.encryption
Methods in org.springframework.data.mongodb.core.convert.encryption that return MongoPersistentPropertyModifier and TypeMethodDescriptionprotected MongoPersistentPropertyMongoEncryptionConverter.getProperty(EncryptionContext context) -
Uses of MongoPersistentProperty in org.springframework.data.mongodb.core.encryption
Methods in org.springframework.data.mongodb.core.encryption that return MongoPersistentPropertyModifier and TypeMethodDescriptionEncryptionContext.getProperty()Returns theMongoPersistentPropertyto be handled. -
Uses of MongoPersistentProperty in org.springframework.data.mongodb.core.index
Methods in org.springframework.data.mongodb.core.index with parameters of type MongoPersistentPropertyModifier and TypeMethodDescriptionMongoPersistentEntityIndexResolver.createGeoSpatialIndexDefinition(String dotPath, String collection, MongoPersistentProperty persistentProperty) CreatesIndexDefinitionwrapped inMongoPersistentEntityIndexResolver.IndexDefinitionHolderout ofGeoSpatialIndexedforMongoPersistentProperty.MongoPersistentEntityIndexResolver.createHashedIndexDefinition(String dotPath, String collection, MongoPersistentProperty persistentProperty) CreatesHashedIndexwrapped inMongoPersistentEntityIndexResolver.IndexDefinitionHolderout ofHashIndexedfor a givenMongoPersistentProperty.MongoPersistentEntityIndexResolver.createIndexDefinition(String dotPath, String collection, MongoPersistentProperty persistentProperty) CreatesIndexDefinitionwrapped inMongoPersistentEntityIndexResolver.IndexDefinitionHolderout ofIndexedfor a givenMongoPersistentProperty.Method parameters in org.springframework.data.mongodb.core.index with type arguments of type MongoPersistentPropertyModifier and TypeMethodDescriptionstatic IndexResolverIndexResolver.create(MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty> mappingContext) Creates a newIndexResolvergivenMongoMappingContext.Constructor parameters in org.springframework.data.mongodb.core.index with type arguments of type MongoPersistentPropertyModifierConstructorDescriptionMongoPersistentEntityIndexResolver(MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty> mappingContext) Create newMongoPersistentEntityIndexResolver. -
Uses of MongoPersistentProperty in org.springframework.data.mongodb.core.mapping
Classes in org.springframework.data.mongodb.core.mapping that implement MongoPersistentPropertyMethods in org.springframework.data.mongodb.core.mapping that return MongoPersistentPropertyModifier and TypeMethodDescriptionMongoMappingContext.createPersistentProperty(Property property, MongoPersistentEntity<?> owner, SimpleTypeHolder simpleTypeHolder) BasicMongoPersistentEntity.getTextScoreProperty()MongoPersistentEntity.getTextScoreProperty()Returns the property holding text score value.protected MongoPersistentPropertyBasicMongoPersistentEntity.returnPropertyIfBetterIdPropertyCandidateOrNull(MongoPersistentProperty property) As a general note: An implicit id property has a name that matches "id" or "_id".PersistentPropertyTranslator.translate(MongoPersistentProperty property) Translate aMongoPersistentPropertyinto a corresponding property from a differentMongoPersistentEntity.Methods in org.springframework.data.mongodb.core.mapping that return types with arguments of type MongoPersistentPropertyModifier and TypeMethodDescriptionprotected Association<MongoPersistentProperty>BasicMongoPersistentProperty.createAssociation()Methods in org.springframework.data.mongodb.core.mapping with parameters of type MongoPersistentPropertyModifier and TypeMethodDescriptionMongoPersistentProperty.PropertyToFieldNameConverter.convert(MongoPersistentProperty source) MongoMappingContext.getPersistentEntity(MongoPersistentProperty persistentProperty) protected MongoPersistentPropertyBasicMongoPersistentEntity.returnPropertyIfBetterIdPropertyCandidateOrNull(MongoPersistentProperty property) As a general note: An implicit id property has a name that matches "id" or "_id".PersistentPropertyTranslator.translate(MongoPersistentProperty property) Translate aMongoPersistentPropertyinto a corresponding property from a differentMongoPersistentEntity.Method parameters in org.springframework.data.mongodb.core.mapping with type arguments of type MongoPersistentPropertyModifier and TypeMethodDescriptionstatic PersistentPropertyTranslatorPersistentPropertyTranslator.create(MongoPersistentEntity<?> targetEntity, Predicate<MongoPersistentProperty> translationFilter) Create a newPersistentPropertyTranslatoraccepting afilter predicatewhether the translation should happen at all. -
Uses of MongoPersistentProperty in org.springframework.data.mongodb.repository.query
Methods in org.springframework.data.mongodb.repository.query with parameters of type MongoPersistentPropertyModifier and TypeMethodDescriptionConvertingParameterAccessor.PotentiallyConvertingIterator.nextConverted(MongoPersistentProperty property) Returns the next element which has already been converted.Constructor parameters in org.springframework.data.mongodb.repository.query with type arguments of type MongoPersistentPropertyModifierConstructorDescriptionMongoQueryMethod(Method method, RepositoryMetadata metadata, ProjectionFactory projectionFactory, MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty> mappingContext) Creates a newMongoQueryMethodfrom the givenMethod.ReactiveMongoQueryMethod(Method method, RepositoryMetadata metadata, ProjectionFactory projectionFactory, MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty> mappingContext) Creates a newReactiveMongoQueryMethodfrom the givenMethod.
DbRefResolverinstead.