Uses of Interface
org.springframework.data.mongodb.core.convert.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
Modifier and TypeMethodDescriptionMongoOperations.getConverter()
Returns the underlyingMongoConverter
.MongoTemplate.getConverter()
Returns the defaultMongoConverter
.ReactiveMongoOperations.getConverter()
Returns the underlyingMongoConverter
.ReactiveMongoTemplate.getConverter()
Returns the defaultMongoConverter
.Modifier and TypeMethodDescriptionstatic MongoJsonSchemaCreator
MongoJsonSchemaCreator.create
(MongoConverter mongoConverter) Creates a newMongoJsonSchemaCreator
that is aware of conversions applied by the givenMongoConverter
.ModifierConstructorDescriptionChangeStreamEvent
(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
Modifier and TypeClassDescriptionclass
Base class forMongoConverter
implementations.class
MongoConverter
that uses aMappingContext
to do sophisticated mapping of domain objects toDocument
.Modifier and TypeMethodDescriptionQueryMapper.getConverter()
MappingMongoConverter.ConversionContext.getSourceConverter()
MappingMongoConverter.DefaultConversionContext.getSourceConverter()
ModifierConstructorDescriptionMongoConversionContext
(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
ModifierConstructorDescriptionGridFsTemplate
(MongoConverter converter, Supplier<com.mongodb.client.gridfs.GridFSBucket> gridFSBucket) Creates a newGridFsTemplate
using the givenMongoConverter
andSupplier
providing the requiredGridFSBucket
.GridFsTemplate
(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
(MongoConverter converter, reactor.core.publisher.Mono<com.mongodb.reactivestreams.client.gridfs.GridFSBucket> gridFSBucket, DataBufferFactory dataBufferFactory) Creates a newReactiveGridFsTemplate
using the givenMongoConverter
,Mono
emitting aReactiveMongoDatabaseFactory
andDataBufferFactory
.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
Modifier and TypeMethodDescriptionstatic AggregationOperationContext
TestAggregationContext.contextFor
(Class<?> type, MongoConverter mongoConverter)