Uses of Interface
org.springframework.data.mongodb.core.convert.MongoTypeMapper
Packages that use MongoTypeMapper
Package
Description
Spring Data MongoDB specific converter infrastructure.
-
Uses of MongoTypeMapper in org.springframework.data.mongodb.core.convert
Classes in org.springframework.data.mongodb.core.convert that implement MongoTypeMapperModifier and TypeClassDescriptionclass
Default implementation ofMongoTypeMapper
allowing configuration of the key to lookup and store type information inDocument
.Fields in org.springframework.data.mongodb.core.convert declared as MongoTypeMapperMethods in org.springframework.data.mongodb.core.convert that return MongoTypeMapperModifier and TypeMethodDescriptionMappingMongoConverter.getTypeMapper()
MongoConverter.getTypeMapper()
Returns theTypeMapper
being used to write type information intoDocument
s created with that converter.Methods in org.springframework.data.mongodb.core.convert with parameters of type MongoTypeMapperModifier and TypeMethodDescriptionvoid
MappingMongoConverter.setTypeMapper
(MongoTypeMapper typeMapper) Configures theMongoTypeMapper
to be used to add type information toDocument
s created by the converter and how to lookup type information fromDocument
s when reading them.