}
public Mapper build() {
JacksonEngine jacksonEngine = new JacksonEngine(createMapping());
if (queryFactory == null) {
queryFactory = new BsonQueryFactory(jacksonEngine);
}
if (objectIdUpdater == null) {
objectIdUpdater = new ReflectiveObjectIdUpdater(new JacksonIdFieldSelector());
}
return new JacksonMapper(jacksonEngine, queryFactory, objectIdUpdater);