Class DefaultMongoTypeMapper

java.lang.Object
org.springframework.data.convert.DefaultTypeMapper<Bson>
org.springframework.data.mongodb.core.convert.DefaultMongoTypeMapper
All Implemented Interfaces:
Aware, BeanClassLoaderAware, TypeMapper<Bson>, MongoTypeMapper

public class DefaultMongoTypeMapper extends DefaultTypeMapper<Bson> implements MongoTypeMapper
Default implementation of MongoTypeMapper allowing configuration of the key to lookup and store type information in Document. The key defaults to DEFAULT_TYPE_KEY.
Author:
Oliver Gierke, Thomas Darimont, Christoph Strobl, Mark Paluch