Package | Description |
---|---|
org.bson.codecs |
This package contains all the default BSON codecs.
|
Modifier and Type | Method and Description |
---|---|
static BsonTypeClassMap |
BsonValueCodecProvider.getBsonTypeClassMap()
Gets the BsonTypeClassMap used by this provider.
|
Constructor and Description |
---|
BsonTypeCodecMap(BsonTypeClassMap bsonTypeClassMap,
CodecRegistry codecRegistry)
Initializes the map by iterating the keys of the given BsonTypeClassMap and looking up the Codec for the Class mapped to each key.
|
DocumentCodec(CodecRegistry registry,
BsonTypeClassMap bsonTypeClassMap)
Construct a new instance with the given registry and BSON type class map.
|
DocumentCodec(CodecRegistry registry,
BsonTypeClassMap bsonTypeClassMap,
Transformer valueTransformer)
Construct a new instance with the given registry and BSON type class map.
|
DocumentCodecProvider(BsonTypeClassMap bsonTypeClassMap)
Construct a new instance with the given instance of
BsonTypeClassMap . |
DocumentCodecProvider(BsonTypeClassMap bsonTypeClassMap,
Transformer valueTransformer)
Construct a new instance with the given instance of
BsonTypeClassMap . |
IterableCodec(CodecRegistry registry,
BsonTypeClassMap bsonTypeClassMap)
Construct a new instance with the given
CodecRegistry and BsonTypeClassMap . |
IterableCodec(CodecRegistry registry,
BsonTypeClassMap bsonTypeClassMap,
Transformer valueTransformer)
Construct a new instance with the given
CodecRegistry and BsonTypeClassMap . |
IterableCodecProvider(BsonTypeClassMap bsonTypeClassMap)
Construct a new instance with the given instance of
BsonTypeClassMap and no Transformer . |
IterableCodecProvider(BsonTypeClassMap bsonTypeClassMap,
Transformer valueTransformer)
Construct a new instance with the given instance of
BsonTypeClassMap and Transformer . |
MapCodec(CodecRegistry registry,
BsonTypeClassMap bsonTypeClassMap)
Construct a new instance with the given registry and BSON type class map.
|
MapCodec(CodecRegistry registry,
BsonTypeClassMap bsonTypeClassMap,
Transformer valueTransformer)
Construct a new instance with the given registry and BSON type class map.
|
MapCodecProvider(BsonTypeClassMap bsonTypeClassMap)
Construct a new instance with the given instance of
BsonTypeClassMap . |
MapCodecProvider(BsonTypeClassMap bsonTypeClassMap,
Transformer valueTransformer)
Construct a new instance with the given instance of
BsonTypeClassMap . |
Copyright © 2018. All rights reserved.