The DB callback interface.
The DBCallback factory interface.
Interface that provides the ability to exchange request/response with the database
A key-value map that can be saved to the database.
A standard MBean interface for a Mongo connection pool, for use on Java 5 virtual machines.
A standard MXBean interface for a Mongo connection pool, for use on Java 6 and above virtual machines.
a basic implementation of bson list that is mongo specific
a basic implementation of bson object that is mongo specific.
utility for building complex objects example: BasicDBObjectBuilder.start().add( "name" , "eliot" ).add( "number" , 17 ).get()
Class that hold definitions of the wire protocol
A simple wrapper for the result of getLastError() calls and other commands
an abstract class that represents a logical database on a server
Represents a database address
Database API This cannot be directly instantiated, but the functions are available through instances of Mongo.
This class provides a skeleton implementation of a database collection.
An iterator over database results.
represents a Port to the database, which is effectively a single connection to a server Methods implemented at the port level should throw the raw exceptions like IOException, so that the connector above can make appropriate decisions on how to handle.
This class is NOT part of the public API.
overrides DBRefBase to understand a BSONObject representation of a reference.
represents a database reference, which points to an object stored in the database
This class overrides BasicBSONCallback to implement some extra features specific to the Database.
This class groups the argument for a group operation and can build the underlying command object
This class is NOT part of the public API.
Encoder that only knows how to encode BSONObject instances of type LazyDBObject.
This class groups the argument for a map/reduce operation and can build the underlying command object
Represents the result of a map/reduce operation
A database connection with internal connection pooling.
Mongo.Holder can be used as a static place to hold several instances of Mongo.
A MongoDB client with internal connection pooling.
Various settings to control the behavior of a
A builder for MongoClientOptions so that MongoClientOptions can be immutable, and to support easier construction through chaining.
Represents a URI which can be used to create a MongoClient instance.
Represents credentials to authenticate to a mongo server, as well as the source of the credentials and the authentication mechanism to use.
Various settings for a Mongo instance.
Represents a URI which can be used to create a Mongo instance.
Utility for creating DBObject queries
MongoDB keywords for various query operations
This object wraps the binary object format ("BSON") used for the transport of serialized objects to / from the Mongo database.
An abstract class that represents preferred replica set members to which a query or command can be sent.
As of release 2.9, replaced by
This class enables to map simple Class fields to a BSON object fields
Represents a wrapper around the DBObject to interface with the Class fields
Keeps replica set status.
mongo server address
Represents a server error
Abstract base class for all preference which can be combined with tags
WriteConcern control the acknowledgment of write operations with various options.
This class lets you access the results of the previous write.
INLINE - Return results inline, no result is written to the DB server REPLACE - Save the job output to a collection, replacing its previous content MERGE - Merge the job output with the existing contents of outputTarget collection REDUCE - Reduce the job output with the existing contents of outputTarget collection
An exception indicating a failed command.
A general exception raised in Mongo
Subclass of MongoException representing a cursor-not-found exception
Subclass of WriteConcernException representing a duplicate key error
Subclass of MongoException representing a network-related exception
An Mongo exception internal to the driver, not carrying any error code
A non-checked exception indicating that the driver has been interrupted by a call to Thread.interrupt.
An exception representing an error reported due to a write failure.
Main package with core files. @see Mongo is the main entry point.