Package org.bson


package org.bson
Contains the base BSON classes.
  • 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.
    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.
    A simple implementation of DBObject.
    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 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 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.
    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 BsonWriter implementation that writes to an instance of BsonDocument.
    A representation of the BSON Double type.
    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.
    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 type
    Represent the minimum key value regardless of the key's type
    A 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 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.
    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 Ruby
    A 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 a java.nio.ByteBuffer which additionally is Closeable, so that pooled byte buffers know how.
    Implementation of ByteBuf which simply wraps an NIO ByteBuffer and forwards all calls to it.
    A representation of a document as a Map.
    Convenience implementation of BSONCallback that throws UnsupportedOperationException for all methods.
    A field name validator, for use by BSON writers to validate field names as documents are encoded.
    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.
    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.