| Modifier and Type | Optional Element and Description |
|---|---|
String |
codecProviderClassName
Fully qualified classname of the
CodecProvider that the generated
Codec implementation should be added. |
boolean |
ignoreUnknown
Controls the behavior of the decoder when he encounters fields that cannot be
mapped to the pojo.
|
boolean |
storeEmptyCollections
Controls if empty collections and arrays should be stored in the database.
|
boolean |
storeNullValues
Controls if fields with null value should be stored in the database.
|
public abstract String codecProviderClassName
CodecProvider that the generated
Codec implementation should be added.
By default a class with name PojoCodecProvider is created in every
package the processor finds classes with the BsonDocument annotation. The
PojoCodecProvider contains a registry for every Codec from this package.
public abstract boolean storeNullValues
Default behavior is not storing null values (false)
Copyright © 2017. All rights reserved.