public class PojoCodecProvider extends Object implements org.bson.codecs.configuration.CodecProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
PojoCodecProvider.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PojoCodecProvider.Builder |
builder() |
<T> org.bson.codecs.Codec<T> |
get(Class<T> clazz,
org.bson.codecs.configuration.CodecRegistry registry) |
static org.bson.codecs.configuration.CodecRegistry |
getDefaultCodecRegistry()
A CodecReggistry containing many default codecs from the java mongo driver.
|
public static org.bson.codecs.configuration.CodecRegistry getDefaultCodecRegistry()
MongoClient.getDefaultCodecRegistry() are omitted
FloatCodec, ByteCodec, ShortCodec are omitted, since they do not support
Decoder.decode(BsonReader, DecoderContext) prior to mongo java driver version 3.5public static PojoCodecProvider.Builder builder()
public <T> org.bson.codecs.Codec<T> get(Class<T> clazz, org.bson.codecs.configuration.CodecRegistry registry)
get in interface org.bson.codecs.configuration.CodecProviderCopyright © 2018 BILD GmbH & Co. KG. All rights reserved.