Uses of Interface
org.springframework.data.mongodb.core.convert.MongoConverter
Packages that use MongoConverter
Package
Description
MongoDB core support.
Spring Data MongoDB specific converter infrastructure.
Support for MongoDB GridFS feature.
-
Uses of MongoConverter in org.springframework.data.mongodb.core
Methods in org.springframework.data.mongodb.core that return MongoConverterModifier and TypeMethodDescriptionMongoOperations.getConverter()
Returns the underlyingMongoConverter
.MongoTemplate.getConverter()
Returns the defaultMongoConverter
.ReactiveMongoOperations.getConverter()
Returns the underlyingMongoConverter
.ReactiveMongoTemplate.getConverter()
Returns the defaultMongoConverter
.Methods in org.springframework.data.mongodb.core with parameters of type MongoConverterModifier and TypeMethodDescriptionstatic MongoJsonSchemaCreator
MongoJsonSchemaCreator.create
(MongoConverter mongoConverter) Creates a newMongoJsonSchemaCreator
that is aware of conversions applied by the givenMongoConverter
.Constructors in org.springframework.data.mongodb.core with parameters of type MongoConverterModifierConstructorDescriptionChangeStreamEvent
(com.mongodb.client.model.changestream.ChangeStreamDocument<org.bson.Document> raw, Class<T> targetType, MongoConverter converter) MongoTemplate
(MongoDatabaseFactory mongoDbFactory, MongoConverter mongoConverter) Constructor used for a basic template configuration.ReactiveMongoTemplate
(ReactiveMongoDatabaseFactory mongoDatabaseFactory, MongoConverter mongoConverter) Constructor used for a basic template configuration.ReactiveMongoTemplate
(ReactiveMongoDatabaseFactory mongoDatabaseFactory, MongoConverter mongoConverter, Consumer<Throwable> subscriptionExceptionHandler) Constructor used for a basic template configuration. -
Uses of MongoConverter in org.springframework.data.mongodb.core.convert
Classes in org.springframework.data.mongodb.core.convert that implement MongoConverterModifier and TypeClassDescriptionclass
Base class forMongoConverter
implementations.class
MongoConverter
that uses aMappingContext
to do sophisticated mapping of domain objects toDocument
.Methods in org.springframework.data.mongodb.core.convert that return MongoConverterModifier and TypeMethodDescriptionQueryMapper.getConverter()
MappingMongoConverter.ConversionContext.getSourceConverter()
MappingMongoConverter.DefaultConversionContext.getSourceConverter()
Constructors in org.springframework.data.mongodb.core.convert with parameters of type MongoConverterModifierConstructorDescriptionMongoConversionContext
(PropertyValueProvider<MongoPersistentProperty> accessor, MongoPersistentProperty persistentProperty, MongoConverter mongoConverter) MongoConversionContext
(PropertyValueProvider<MongoPersistentProperty> accessor, MongoPersistentProperty persistentProperty, MongoConverter mongoConverter, SpELContext spELContext) MongoExampleMapper
(MongoConverter converter) Create a newMongoTypeMapper
givenMongoConverter
.MongoJsonSchemaMapper
(MongoConverter converter) Create a newMongoJsonSchemaMapper
facilitating the givenMongoConverter
.QueryMapper
(MongoConverter converter) Creates a newQueryMapper
with the givenMongoConverter
.UpdateMapper
(MongoConverter converter) Creates a newUpdateMapper
using the givenMongoConverter
. -
Uses of MongoConverter in org.springframework.data.mongodb.gridfs
Constructors in org.springframework.data.mongodb.gridfs with parameters of type MongoConverterModifierConstructorDescriptionGridFsTemplate
(MongoDatabaseFactory dbFactory, MongoConverter converter) GridFsTemplate
(MongoDatabaseFactory dbFactory, MongoConverter converter, String bucket) ReactiveGridFsTemplate
(DataBufferFactory dataBufferFactory, ReactiveMongoDatabaseFactory dbFactory, MongoConverter converter, String bucket) Creates a newReactiveGridFsTemplate
using the givenDataBufferFactory
,ReactiveMongoDatabaseFactory
andMongoConverter
.ReactiveGridFsTemplate
(ReactiveMongoDatabaseFactory dbFactory, MongoConverter converter) Creates a newReactiveGridFsTemplate
using the givenReactiveMongoDatabaseFactory
andMongoConverter
.ReactiveGridFsTemplate
(ReactiveMongoDatabaseFactory dbFactory, MongoConverter converter, String bucket) Creates a newReactiveGridFsTemplate
using the givenReactiveMongoDatabaseFactory
andMongoConverter
. -
Uses of MongoConverter in org.springframework.data.mongodb.util.aggregation
Methods in org.springframework.data.mongodb.util.aggregation with parameters of type MongoConverterModifier and TypeMethodDescriptionstatic AggregationOperationContext
TestAggregationContext.contextFor
(Class<?> type, MongoConverter mongoConverter)