All Classes and Interfaces

Class
Description
Abstract base class for BsonReader implementations.
The state of a reader.
Represents a BSON writer for some external format (see subclasses).
The state of a writer.
Design by contract assertions.
Encodes and decodes AtomicBoolean objects.
Encodes and decodes AtomicInteger objects.
Encodes and decodes AtomicLong objects.
An implementation of BsonCallback that creates an instance of BSONObject.
Basic implementation of BSONDecoder interface that creates BasicBSONObject instances
This is meant to be pooled or cached.
Utility class to allow array DBObjects to be created.
A simple implementation of DBObject.
A BSON output stream that stores the output in a single, un-pooled byte array.
Encodes and decodes BigDecimal objects.
Generic binary holder.
A Codec for the BSON Binary type.
Encodes and decodes Boolean objects.
An interface for types that are able to render themselves into a BsonDocument.
A type-safe representation of the BSON array type.
A codec for BsonArray instances.
A representation of the BSON Binary type.
A Codec for the BSON Binary type.
A BsonReader implementation that reads from a binary stream of data.
The Binary subtype
A BsonWriter implementation that writes to a binary stream of data.
The customisable settings for writing BSON.
A representation of the BSON Boolean type.
A Codec for BsonBoolean instances.
A callback interface for describing the structure of a BSON document.
A codec for encoding Bson Implementations
A codec for encoding simple Bson interface implementations
Used by BsonReader and BsonWriter implementations to represent the current context.
An annotation that configures a constructor or method as the creator for the POJO.
A representation of the BSON DateTime type.
A Codec for BsonDateTime instances.
Holder for a BSON type DBPointer(0x0c).
Converts BSON type DBPointer(0x0c) to database references as DBPointer is deprecated.
A representation of the BSON Decimal128 type.
A Codec for BsonDecimal128 instances.
An interface for decoders of BSON documents.
An annotation that configures the discriminator key and value for a class.
A type-safe container for a BSON document.
A codec for BsonDocument instances.
A BsonReader implementation that reads from an instance of BsonDocument.
A BsonDocument that begins its life as a document of any type and an Encoder for that document, which lets an instance of any class with an Encoder be treated as a BsonDocument.
A Codec
A BsonWriter implementation that writes to an instance of BsonDocument.
A representation of the BSON Double type.
A Codec for BsonDouble instances.
A mapping from a name to a BsonValue.
A BSONEncoder is a class which can be used to turn documents into byte arrays.
A general runtime exception raised in BSON processing.
An annotation that configures a property to be used as storage for any extra BSON elements that are not already mapped to other properties.
An annotation that configures the property as the id property for a ClassModel or a Java record.
An annotation that configures a property to be ignored when reading and writing to BSON
An input stream that is optimized for reading BSON values directly from the underlying stream.
Represents a bookmark that can be used to reset a BsonInput to its state at the time the mark was created.
A representation of the BSON Int32 type.
A Codec for BsonInt32 instances.
A representation of the BSON Int64 type.
A Codec for BsonInt64 instances.
An exception indicating an invalid BSON operation.
For using the JavaScript Code type.
A Codec for the BsonJavaScript type.
A representation of the JavaScript Code with Scope BSON type.
A Codec for BsonJavaScriptWithScope instances.
An exception indicating a failure to serialize a BSON document due to it exceeding the maximum size.
Represent the maximum key value regardless of the key's type
A codec for BsonMaxKey instances.
Represent the minimum key value regardless of the key's type
A codec for BsonMinKey instances.
A representation of the BSON Null type.
A Codec for BsonNull instances.
Base class for the numeric BSON types.
A key-value map that can be saved to the database.
A representation of the BSON ObjectId type.
A Codec for BsonObjectId instances.
An output stream that is optimized for writing BSON values directly to the underlying stream.
An annotation that configures a property.
An interface for reading a logical BSON document using a pull-oriented API.
Represents a bookmark that can be used to reset a BsonReader to its state at the time the mark was created.
A holder class for a BSON regular expression, so that we can delay compiling into a Pattern until necessary.
A codec for BSON regular expressions.
An annotation that specifies what type the property is stored as in the database.
An exception indicating a failure to serialize a BSON value.
A representation of the BSON String type.
A Codec for BsonString instances.
Class to hold a BSON symbol object, which is an interned string in Ruby
A codec for BSON symbol type.
A value representing the BSON timestamp type.
This is used for internal increment values.
A Codec for BSON Timestamp instances.
Enumeration of all the BSON types currently supported.
A map from a BSON types to the Class to which it should be decoded.
An efficient map of BsonType to Codec
Represents the value associated with the BSON Undefined type.
Allows reading and writing of the BSON Undefined type.
Base class for any BSON type.
A codec for unknown BsonValues.
A CodecProvider for all subclass of BsonValue.
An interface for writing a logical BSON document using a push-oriented API.
All the customisable settings for writing BSON.
Encodes and decodes byte arrays.
An interface wrapper around a java.nio.ByteBuffer which additionally is Closeable, so that pooled byte buffers know how.
An implementation of BsonInput that is backed by a ByteBuf.
Implementation of ByteBuf which simply wraps an NIO ByteBuffer and forwards all calls to it.
Encodes and decodes Byte objects.
Encodes and decodes Character objects.
This model represents the metadata for a class and all its properties.
A builder for programmatically creating ClassModels.
For using the Code type.
Implementations of this interface can both encode and decode values of type T.
An exception indicating that a codec registry has been misconfigured in some way, preventing it from providing a codec for the requested class.
Encodes and decodes instances of type Code.
A provider of Codec instances.
A helper class for creating and combining codecs, codec providers, and codec registries
A registry of Codec instances searchable by the class that the Codec can encode and decode.
A representation of the JavaScript Code with Scope BSON type.
Encodes and decodes CodeWithScope instances.
Represents the CodeWScope BSON type.
A Codec that generates complete BSON documents for storage in a MongoDB collection.
A CodecProvider for classes than implement the Collection interface.
Defines a convention to be applied when mapping a class.
The default Conventions
A converter from a BSON value to JSON.
Encodes and decodes java.util.Date objects.
A binary integer decimal representation of a 128-bit decimal value, supporting 34 decimal digits of significand and an exponent range of -6143 to +6144.
Encodes and decodes Decimal128 objects.
Decoders are used for reading BSON types from MongoDB and converting them into Java objects.
The context for decoding values to BSON.
A builder for DecoderContext instances.
A representation of a document as a Map.
A Codec for Document instances.
A CodecProvider for the Document class and all the default Codec implementations on which it depends.
Encodes and decodes Double objects.
Convenience implementation of BSONCallback that throws UnsupportedOperationException for all methods.
Instances of this class are capable of encoding an instance of the type parameter T into a BSON value.
The context for encoding values to BSON.
A builder for EncoderContext instances.
EnumCodec<T extends Enum<T>>
A codec for classes that extends Enum
A codec provider for classes that extend Enum.
A field name validator, for use by BSON writers to validate field names as documents are encoded.
Encodes and decodes Float objects.
Classes that implement this interface define a way to create IDs for MongoDB documents.
Classes that implement this interface define a way to create Ids for Pojo's.
The default IdGenerators
Provides access for setting data and the creation of a class instances.
The factory for creating InstanceCreator instances
Instant Codec.
Encodes and decodes Integer objects.
Deprecated.
A CodecProvider for classes than implement the Iterable interface.
An enumeration of the supported output modes of JSONWriter.
A wrapper class that holds a JSON object string.
Encodes and Decodes JSON object strings.
A CodecProvider for JSON object strings
JSONParseException indicates some exception happened during JSON processing.
Reads a JSON in one of the following modes: Strict mode that conforms to the JSON RFC specifications. JavaScript mode that that most JavaScript interpreters can process Shell mode that the mongo shell can process.
A BsonWriter implementation that outputs a JSON representation of BSON.
Settings to control the behavior of a JSONWriter instance.
A builder for JsonWriterSettings
A CodecProvider for JSR-310 Date and Time API classes.
A BSONCallback for creation of LazyBSONObject and LazyBSONList instances.
A decoder for LazyBSONObject instances.
A LazyBSONObject representing a BSON array.
An immutable BSONObject backed by a byte buffer that lazily provides keys and values on request.
LocalDate Codec.
LocalDateTime Codec.
LocalTime Codec.
This class is not part of the public API.
This class is not part of the public API.
Encodes and decodes Long objects.
Deprecated.
A CodecProvider for the Map class and all the default Codec implementations on which it depends.
Represent the maximum key value regardless of the key's type
Encodes and decodes instances of type MaxKey.
Represent the minimum key value regardless of the key's type
Encodes and decodes instances of type MinKey.
A globally unique identifier for objects.
A Codec for ObjectId instances.
Creates new ObjectId instances as IDs for MongoDB Documents.
An abstract base class for classes implementing BsonOutput.
A marker interface for Codec implementations that can derive a new instance that overrides the UuidRepresentation.
An extension of UuidCodec that allows its configured UuidRepresentation to be overridden by an externally configured UuidRepresentation, most likely configured on MongoClientSettings or MongoClientOptions.
Deprecated.
Since 4.10.
A codec for Pattern instances.
Provides Codecs for registered POJOs via the ClassModel abstractions.
A Builder for the PojoCodecProvider
Provides access for getting and setting property data.
A variant of CodecProvider that generates codecs for PojoCodec.
A variant of CodecRegistry that generates codecs for PojoCodec.
Represents a property on a class and stores various metadata such as generic parameters
A builder for programmatically creating PropertyModels.
An interface allowing a PropertyModel to determine if a value should be serialized.
An immutable BSON array that is represented using only the raw bytes.
An immutable BSON document that is represented using only the raw bytes.
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 decodes Short objects.
A class that writes JSON texts as a character stream via a provided Writer.
Settings to control the behavior of a JSONWriter instance.
A builder for StrictCharacterStreamJsonWriterSettings
An interface for creating JSON texts that largely conform to RFC 7159.
Encodes and decodes String objects.
Class to hold an instance of the BSON symbol type.
A codec for BSON symbol type.
Transforms objects that can be converted to BSON into other Java types, and vice versa.
A combination of a type and its type parameters.
Encodes and decodes UUID objects.
A CodecProvider for UUID Codecs with custom UUID representations
The representation to use when converting a UUID to a BSON binary value.
A Codec provider for dynamically-typed value classes.