public class DBObjectCodecProvider extends java.lang.Object implements CodecProvider
| 构造器和说明 |
|---|
DBObjectCodecProvider()
Construct an instance using the default
BsonTypeClassMap. |
DBObjectCodecProvider(BsonTypeClassMap bsonTypeClassMap)
Construct an instance with the given
BsonTypeClassMap. |
public DBObjectCodecProvider()
BsonTypeClassMap.public DBObjectCodecProvider(BsonTypeClassMap bsonTypeClassMap)
BsonTypeClassMap.bsonTypeClassMap - the BsonTypeClassMappublic <T> Codec<T> get(java.lang.Class<T> clazz, CodecRegistry registry)
CodecProviderCodec using the given context, which includes, most importantly, the Class for which a Codec is required.get 在接口中 CodecProviderT - the type of the class for which a Codec is requiredclazz - the Class for which to get a Codecregistry - the registry to use for resolving dependent Codec instancespublic boolean equals(java.lang.Object o)
equals 在类中 java.lang.Objectpublic int hashCode()
hashCode 在类中 java.lang.Object