Package org.bson
package org.bson
Contains the base BSON classes.
-
ClassDescriptionAbstract 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.An implementation of
BsonCallback
that creates an instance of BSONObject.Basic implementation of BSONDecoder interface that creates BasicBSONObject instancesThis is meant to be pooled or cached.A simple implementation ofDBObject
.A type-safe representation of the BSON array type.A representation of the BSON Binary type.A BsonReader implementation that reads from a binary stream of data.The Binary subtypeA BsonWriter implementation that writes to a binary stream of data.The customisable settings for writing BSON.A representation of the BSON Boolean type.A callback interface for describing the structure of a BSON document.Used by BsonReader and BsonWriter implementations to represent the current context.A representation of the BSON DateTime type.Holder for a BSON type DBPointer(0x0c).A representation of the BSON Decimal128 type.An interface for decoders of BSON documents.A type-safe container for a BSON document.ABsonReader
implementation that reads from an instance ofBsonDocument
.ABsonDocument
that begins its life as a document of any type and anEncoder
for that document, which lets an instance of any class with an Encoder be treated as a BsonDocument.ABsonWriter
implementation that writes to an instance ofBsonDocument
.A representation of the BSON Double type.A mapping from a name to a BsonValue.ABSONEncoder
is a class which can be used to turn documents into byte arrays.A general runtime exception raised in BSON processing.A representation of the BSON Int32 type.A representation of the BSON Int64 type.An exception indicating an invalid BSON operation.For using the JavaScript Code type.A representation of the JavaScript Code with Scope BSON type.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 typeRepresent the minimum key value regardless of the key's typeA representation of the BSON Null type.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.An interface for reading a logical BSON document using a pull-oriented API.Represents a bookmark that can be used to reset aBsonReader
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.An exception indicating a failure to serialize a BSON value.A representation of the BSON String type.Class to hold a BSON symbol object, which is an interned string in RubyA value representing the BSON timestamp type.Enumeration of all the BSON types currently supported.Represents the value associated with the BSON Undefined type.Base class for any BSON type.An interface for writing a logical BSON document using a push-oriented API.All the customisable settings for writing BSON.An interface wrapper around ajava.nio.ByteBuffer
which additionally isCloseable
, so that pooled byte buffers know how.Implementation ofByteBuf
which simply wraps an NIOByteBuffer
and forwards all calls to it.A representation of a document as aMap
.Convenience implementation of BSONCallback that throwsUnsupportedOperationException
for all methods.A field name validator, for use by BSON writers to validate field names as documents are encoded.ABSONCallback
for creation ofLazyBSONObject
andLazyBSONList
instances.A decoder forLazyBSONObject
instances.ALazyBSONObject
representing a BSON array.An immutableBSONObject
backed by a byte buffer that lazily provides keys and values on request.An immutable BSON array that is represented using only the raw bytes.An immutable BSON document that is represented using only the raw bytes.Transforms objects that can be converted to BSON into other Java types, and vice versa.The representation to use when converting a UUID to a BSON binary value.