Interface | Description |
---|---|
DBCallback |
The DB callback interface.
|
DBCallbackFactory |
The DBCallback factory interface.
|
DBConnector |
Interface that provides the ability to exchange request/response with the database
|
DBDecoder | |
DBDecoderFactory | |
DBEncoder | |
DBEncoderFactory | |
DBObject |
A key-value map that can be saved to the database.
|
Java5MongoConnectionPoolMBean |
A standard MBean interface for a Mongo connection pool, for use on Java 5 virtual machines.
|
MongoConnectionPoolMXBean |
A standard MXBean interface for a Mongo connection pool, for use on Java 6 and above virtual machines.
|
Class | Description |
---|---|
AggregationOutput | |
BasicDBList |
a basic implementation of bson list that is mongo specific
|
BasicDBObject |
a basic implementation of bson object that is mongo specific.
|
BasicDBObjectBuilder |
utility for building complex objects
example:
BasicDBObjectBuilder.start().add( "name" , "eliot" ).add( "number" , 17 ).get()
|
Bytes |
Class that hold definitions of the wire protocol
|
CommandResult |
A simple wrapper for the result of getLastError() calls and other commands
|
DB |
an abstract class that represents a logical database on a server
|
DBAddress |
Represents a database address
|
DBApiLayer |
Database API
This cannot be directly instantiated, but the functions are available
through instances of Mongo.
|
DBCollection |
This class provides a skeleton implementation of a database collection.
|
DBCursor |
An iterator over database results.
|
DBPointer | Deprecated |
DBPort |
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.
|
DBPortPool |
This class is NOT part of the public API.
|
DBRef |
overrides DBRefBase to understand a BSONObject representation of a reference.
|
DBRefBase |
represents a database reference, which points to an object stored in the database
|
DBTCPConnector | |
DefaultDBCallback |
This class overrides BasicBSONCallback to implement some extra features specific to the Database.
|
DefaultDBDecoder | |
DefaultDBEncoder | |
GroupCommand |
This class groups the argument for a group operation and can build the underlying command object
|
InUseConnectionBean |
This class is NOT part of the public API.
|
LazyDBCallback | |
LazyDBDecoder | |
LazyDBEncoder |
Encoder that only knows how to encode BSONObject instances of type LazyDBObject.
|
LazyDBObject | |
LazyWriteableDBCallback | |
LazyWriteableDBDecoder | |
LazyWriteableDBObject | |
MapReduceCommand |
This class groups the argument for a map/reduce operation and can build the underlying command object
|
MapReduceOutput |
Represents the result of a map/reduce operation
|
Mongo |
A database connection with internal connection pooling.
|
Mongo.Holder |
Mongo.Holder can be used as a static place to hold several instances of Mongo.
|
MongoClient |
A MongoDB client with internal connection pooling.
|
MongoClientOptions |
Various settings to control the behavior of a
MongoClient . |
MongoClientOptions.Builder |
A builder for MongoClientOptions so that MongoClientOptions can be immutable, and to support easier
construction through chaining.
|
MongoClientURI |
Represents a URI
which can be used to create a MongoClient instance.
|
MongoCredential |
Represents credentials to authenticate to a mongo server, as well as the source of the credentials and
the authentication mechanism to use.
|
MongoOptions |
Various settings for a Mongo instance.
|
MongoURI |
Represents a URI
which can be used to create a Mongo instance.
|
QueryBuilder |
Utility for creating DBObject queries
|
QueryOperators |
MongoDB keywords for various query operations
|
RawDBObject |
This object wraps the binary object format ("BSON") used for the transport of serialized objects to / from the Mongo database.
|
ReadPreference |
An abstract class that represents preferred replica set members to which a query or command can be sent.
|
ReadPreference.TaggedReadPreference | Deprecated
As of release 2.9, replaced by
ReadPreference.secondaryPreferred(DBObject firstTagSet, DBObject... |
ReflectionDBObject |
This class enables to map simple Class fields to a BSON object fields
|
ReflectionDBObject.JavaWrapper |
Represents a wrapper around the DBObject to interface with the Class fields
|
ReplicaSetStatus |
Keeps replica set status.
|
ServerAddress |
mongo server address
|
ServerError |
Represents a server error
|
TaggableReadPreference |
Abstract base class for all preference which can be combined with tags
|
WriteConcern |
WriteConcern control the acknowledgment of write operations with various options.
|
WriteConcern.Majority | |
WriteResult |
This class lets you access the results of the previous write.
|
Enum | Description |
---|---|
MapReduceCommand.OutputType |
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
|
Exception | Description |
---|---|
CommandFailureException |
An exception indicating a failed command.
|
DBPortPool.ConnectionWaitTimeOut | |
DBPortPool.NoMoreConnection | |
DBPortPool.SemaphoresOut | |
MongoException |
A general exception raised in Mongo
|
MongoException.CursorNotFound |
Subclass of MongoException representing a cursor-not-found exception
|
MongoException.DuplicateKey |
Subclass of WriteConcernException representing a duplicate key error
|
MongoException.Network |
Subclass of MongoException representing a network-related exception
|
MongoInternalException |
An Mongo exception internal to the driver, not carrying any error code
|
MongoInterruptedException |
A non-checked exception indicating that the driver has been interrupted by a call to Thread.interrupt.
|
WriteConcernException |
An exception representing an error reported due to a write failure.
|
Main package with core files. @see Mongo is the main entry point.