Package org.bson.codecs
package org.bson.codecs
This package contains all the default BSON codecs.
-
ClassDescriptionEncodes and decodes
AtomicBooleanobjects.Encodes and decodesAtomicIntegerobjects.Encodes and decodesAtomicLongobjects.Encodes and decodesBigDecimalobjects.A Codec for the BSON Binary type.Encodes and decodesBooleanobjects.A codec for BsonArray instances.A Codec for the BSON Binary type.A Codec for BsonBoolean instances.A codec for encoding Bson ImplementationsA codec for encoding simple Bson interface implementationsA Codec for BsonDateTime instances.Converts BSON type DBPointer(0x0c) to database references as DBPointer is deprecated.A Codec for BsonDecimal128 instances.A codec for BsonDocument instances.A CodecA Codec for BsonDouble instances.A Codec for BsonInt32 instances.A Codec for BsonInt64 instances.A Codec for theBsonJavaScripttype.A Codec forBsonJavaScriptWithScopeinstances.A codec forBsonMaxKeyinstances.A codec forBsonMinKeyinstances.A Codec for BsonNull instances.A Codec forBsonObjectIdinstances.A codec for BSON regular expressions.A Codec for BsonString instances.A codec for BSON symbol type.A Codec for BSON Timestamp instances.A map from a BSON types to the Class to which it should be decoded.An efficient map of BsonType to CodecAllows reading and writing of the BSON Undefined type.A codec for unknown BsonValues.ACodecProviderfor all subclass of BsonValue.Encodes and decodes byte arrays.Encodes and decodesByteobjects.Encodes and decodesCharacterobjects.Codec<T>Implementations of this interface can both encode and decode values of typeT.Encodes and decodes instances of typeCode.Encodes and decodesCodeWithScopeinstances.A Codec that generates complete BSON documents for storage in a MongoDB collection.Encodes and decodesjava.util.Dateobjects.Encodes and decodesDecimal128objects.Decoder<T>Decoders are used for reading BSON types from MongoDB and converting them into Java objects.The context for decoding values to BSON.A builder forDecoderContextinstances.A Codec for Document instances.ACodecProviderfor the Document class and all the default Codec implementations on which it depends.Encodes and decodesDoubleobjects.Encoder<T>Instances of this class are capable of encoding an instance of the type parameterTinto a BSON value.The context for encoding values to BSON.A builder forEncoderContextinstances.A codec for classes that extendsEnumA codec provider for classes that extendEnum.Encodes and decodesFloatobjects.Classes that implement this interface define a way to create IDs for MongoDB documents.Encodes and decodesIntegerobjects.Encodes and decodesIterableobjects.ACodecProviderfor classes than implement theIterableinterface.Encodes and Decodes JSON object strings.ACodecProviderfor JSON object stringsEncodes and decodesLongobjects.A Codec for Map instances.ACodecProviderfor the Map class and all the default Codec implementations on which it depends.Encodes and decodes instances of typeMaxKey.Encodes and decodes instances of typeMinKey.A Codec for ObjectId instances.Creates newObjectIdinstances as IDs for MongoDB Documents.A marker interface forCodecimplementations that can derive a new instance that overrides theUuidRepresentation.An extension ofUuidCodecthat allows its configuredUuidRepresentationto be overridden by an externally configuredUuidRepresentation, most likely configured onMongoClientSettingsorMongoClientOptions.A codec forPatterninstances.A simple BSONDocumentBuffer codec.Implementations of this interface can decode additional types and translate them to the desired value type depending on the BsonRepresentation.Encodes and decodesShortobjects.Encodes and decodesStringobjects.A codec for BSON symbol type.Encodes and decodesUUIDobjects.ACodecProviderfor UUID Codecs with custom UUID representationsA Codec provider for dynamically-typed value classes.