Uses of Interface
org.springframework.data.mongodb.core.convert.MongoTypeMapper
Package
Description
Spring Data MongoDB specific converter infrastructure.
-
Uses of MongoTypeMapper in org.springframework.data.mongodb.core.convert
Modifier and TypeClassDescriptionclass
Default implementation ofMongoTypeMapper
allowing configuration of the key to lookup and store type information inDocument
.Modifier and TypeMethodDescriptionMappingMongoConverter.getTypeMapper()
MongoConverter.getTypeMapper()
Returns theTypeMapper
being used to write type information intoDocument
s created with that converter.Modifier 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.