Uses of Interface
org.springframework.data.mongodb.core.convert.MappingMongoConverter.ConversionContext
Package
Description
Spring Data MongoDB specific converter infrastructure.
-
Uses of MappingMongoConverter.ConversionContext in org.springframework.data.mongodb.core.convert
Modifier and TypeClassDescriptionprotected static class
Conversion context holding references to simpleMappingMongoConverter.DefaultConversionContext.ValueConverter
andMappingMongoConverter.DefaultConversionContext.ContainerValueConverter
.Modifier and TypeMethodDescriptionMappingMongoConverter.ConversionContext.forProperty
(String name) Obtain aMappingMongoConverter.ConversionContext
for the given propertyname
.MappingMongoConverter.ConversionContext.forProperty
(MongoPersistentProperty property) Obtain aMappingMongoConverter.ConversionContext
for the givenMongoPersistentProperty
.protected MappingMongoConverter.ConversionContext
MappingMongoConverter.getConversionContext
(ObjectPath path) Creates a newMappingMongoConverter.ConversionContext
givenObjectPath
.MappingMongoConverter.ConversionContext.withPath
(ObjectPath currentPath) Create a newMappingMongoConverter.ConversionContext
withcurrentPath
applied.MappingMongoConverter.DefaultConversionContext.withPath
(ObjectPath currentPath) Modifier and TypeMethodDescription<S> S
MappingMongoConverter.ConversionContext.convert
(Object source, TypeInformation<? extends S> typeHint, MappingMongoConverter.ConversionContext context) Converts a source object intotarget
.<S> S
MappingMongoConverter.DefaultConversionContext.convert
(Object source, TypeInformation<? extends S> typeHint, MappingMongoConverter.ConversionContext context) protected Object
MappingMongoConverter.readCollectionOrArray
(MappingMongoConverter.ConversionContext context, Collection<?> source, TypeInformation<?> targetType) Reads the givenCollection
into a collection of the givenTypeInformation
.protected <S> S
MappingMongoConverter.readDocument
(MappingMongoConverter.ConversionContext context, org.bson.conversions.Bson bson, TypeInformation<? extends S> typeHint) Conversion method to materialize an object from adocument
.MappingMongoConverter.readMap
(MappingMongoConverter.ConversionContext context, org.bson.conversions.Bson bson, TypeInformation<?> targetType)