Search in sources :

Example 1 with BsonDateTimeCodec

use of org.bson.codecs.BsonDateTimeCodec in project mongo-java-driver by mongodb.

the class CommandResultCodecProvider method addCodecs.

private void addCodecs() {
    addCodec(new BsonNullCodec());
    addCodec(new BsonBinaryCodec());
    addCodec(new BsonBooleanCodec());
    addCodec(new BsonDateTimeCodec());
    addCodec(new BsonDBPointerCodec());
    addCodec(new BsonDoubleCodec());
    addCodec(new BsonInt32Codec());
    addCodec(new BsonInt64Codec());
    addCodec(new BsonDecimal128Codec());
    addCodec(new BsonMinKeyCodec());
    addCodec(new BsonMaxKeyCodec());
    addCodec(new BsonJavaScriptCodec());
    addCodec(new BsonObjectIdCodec());
    addCodec(new BsonRegularExpressionCodec());
    addCodec(new BsonStringCodec());
    addCodec(new BsonSymbolCodec());
    addCodec(new BsonTimestampCodec());
    addCodec(new BsonUndefinedCodec());
    addCodec(new BsonJavaScriptWithScopeCodec(new BsonDocumentCodec()));
}
Also used : BsonObjectIdCodec(org.bson.codecs.BsonObjectIdCodec) BsonBooleanCodec(org.bson.codecs.BsonBooleanCodec) BsonSymbolCodec(org.bson.codecs.BsonSymbolCodec) BsonUndefinedCodec(org.bson.codecs.BsonUndefinedCodec) BsonDateTimeCodec(org.bson.codecs.BsonDateTimeCodec) BsonDBPointerCodec(org.bson.codecs.BsonDBPointerCodec) BsonJavaScriptWithScopeCodec(org.bson.codecs.BsonJavaScriptWithScopeCodec) BsonMinKeyCodec(org.bson.codecs.BsonMinKeyCodec) BsonBinaryCodec(org.bson.codecs.BsonBinaryCodec) BsonDoubleCodec(org.bson.codecs.BsonDoubleCodec) BsonInt32Codec(org.bson.codecs.BsonInt32Codec) BsonDecimal128Codec(org.bson.codecs.BsonDecimal128Codec) BsonRegularExpressionCodec(org.bson.codecs.BsonRegularExpressionCodec) BsonStringCodec(org.bson.codecs.BsonStringCodec) BsonInt64Codec(org.bson.codecs.BsonInt64Codec) BsonMaxKeyCodec(org.bson.codecs.BsonMaxKeyCodec) BsonDocumentCodec(org.bson.codecs.BsonDocumentCodec) BsonNullCodec(org.bson.codecs.BsonNullCodec) BsonJavaScriptCodec(org.bson.codecs.BsonJavaScriptCodec) BsonTimestampCodec(org.bson.codecs.BsonTimestampCodec)

Aggregations

BsonBinaryCodec (org.bson.codecs.BsonBinaryCodec)1 BsonBooleanCodec (org.bson.codecs.BsonBooleanCodec)1 BsonDBPointerCodec (org.bson.codecs.BsonDBPointerCodec)1 BsonDateTimeCodec (org.bson.codecs.BsonDateTimeCodec)1 BsonDecimal128Codec (org.bson.codecs.BsonDecimal128Codec)1 BsonDocumentCodec (org.bson.codecs.BsonDocumentCodec)1 BsonDoubleCodec (org.bson.codecs.BsonDoubleCodec)1 BsonInt32Codec (org.bson.codecs.BsonInt32Codec)1 BsonInt64Codec (org.bson.codecs.BsonInt64Codec)1 BsonJavaScriptCodec (org.bson.codecs.BsonJavaScriptCodec)1 BsonJavaScriptWithScopeCodec (org.bson.codecs.BsonJavaScriptWithScopeCodec)1 BsonMaxKeyCodec (org.bson.codecs.BsonMaxKeyCodec)1 BsonMinKeyCodec (org.bson.codecs.BsonMinKeyCodec)1 BsonNullCodec (org.bson.codecs.BsonNullCodec)1 BsonObjectIdCodec (org.bson.codecs.BsonObjectIdCodec)1 BsonRegularExpressionCodec (org.bson.codecs.BsonRegularExpressionCodec)1 BsonStringCodec (org.bson.codecs.BsonStringCodec)1 BsonSymbolCodec (org.bson.codecs.BsonSymbolCodec)1 BsonTimestampCodec (org.bson.codecs.BsonTimestampCodec)1 BsonUndefinedCodec (org.bson.codecs.BsonUndefinedCodec)1