Interface | Description |
---|---|
ConnectionPoolStatisticsMBean |
A standard MXBean interface for a Mongo connection pool, for use on Java 6 and above virtual machines.
|
Cursor | |
DBCallback |
The DB callback interface.
|
DBCallbackFactory |
The DBCallback factory interface.
|
DBConnector | Deprecated
This class is NOT part of the public API.
|
DBDecoder | |
DBDecoderFactory | |
DBEncoder | |
DBEncoderFactory | |
DBObject |
A key-value map that can be saved to the database.
|
Java5MongoConnectionPoolMBean | Deprecated
This class will be removed in 3.x versions of the driver,
so please remove it from your compile time dependencies.
|
MongoConnectionPoolMXBean | Deprecated
This class will be removed in 3.x versions of the driver,
so please remove it from your compile time dependencies.
|
Class | Description |
---|---|
AggregationOptions |
The options to apply to an aggregate operation.
|
AggregationOptions.Builder | |
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()
|
BulkUpdateRequestBuilder |
A builder for a single update request.
|
BulkWriteError |
Represents an error for an item included in a bulk write operation, e.g.
|
BulkWriteOperation |
A bulk write operation.
|
BulkWriteRequestBuilder |
A builder for a single write request.
|
BulkWriteResult |
The result of a successful bulk write operation.
|
BulkWriteUpsert |
Represents an upsert request in a bulk write operation that resulted in an insert.
|
Bytes |
Class that hold definitions of the wire protocol
|
CommandResult |
A simple wrapper for the result of getLastError() calls and other commands
|
DB |
A thread-safe client view of a logical database in a MongoDB cluster.
|
DBAddress |
Represents a database address
|
DBApiLayer | Deprecated
This class is NOT part of the public API.
|
DBCollection |
This class provides a skeleton implementation of a database collection.
|
DBCursor |
An iterator over database results.
|
DBPointer | Deprecated
BSON type DBPointer(0x0c) is deprecated.
|
DBPort | Deprecated
This class is NOT a part of public API and will be dropped in 3.x versions.
|
DBPortPool | Deprecated
This class is NOT a part of public API and will be dropped in 3.x versions.
|
DBRef |
Extends DBRefBase to understand a BSONObject representation of a reference.
|
DBRefBase |
Represents a database reference, which points to an object stored in the database.
|
DBTCPConnector | Deprecated
This class is NOT part of the public API.
|
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 | Deprecated
This class will be removed in 3.x versions of the driver,
so please remove it from your compile time dependencies.
|
LazyDBCallback | |
LazyDBDecoder | |
LazyDBEncoder |
Encoder that only knows how to encode BSONObject instances of type LazyDBObject.
|
LazyDBList | |
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 | Deprecated
Replaced by
MongoClientOptions . |
MongoURI |
Represents a URI
which can be used to create a Mongo instance.
|
ParallelScanOptions |
The options to use for a parallel collection scan.
|
ParallelScanOptions.Builder |
A builder for the options
|
QueryBuilder |
Utility for creating DBObject queries
|
QueryOperators |
MongoDB keywords for various query operations
|
RawDBObject | Deprecated
This class is NOT a part of public API and will be dropped in 3.x versions.
|
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 |
Controls the acknowledgment of write operations with various options.
|
WriteConcern.Majority | |
WriteConcernError |
An error representing a failure by the server to apply the requested write concern to the bulk operation.
|
WriteResult |
This class lets you access the results of the previous write.
|
Enum | Description |
---|---|
AggregationOptions.OutputMode | |
MapReduceCommand.OutputType |
Represents the different options available for outputting the results of a map-reduce operation.
|
Exception | Description |
---|---|
BulkWriteException |
An exception that represents all errors associated with a bulk write operation.
|
CommandFailureException |
An exception indicating a failed command.
|
DBPortPool.ConnectionWaitTimeOut | Deprecated
This class will be dropped in 3.x versions.
|
DBPortPool.NoMoreConnection | Deprecated
This class will be dropped in 3.x versions.
|
DBPortPool.SemaphoresOut | Deprecated
This class will be dropped in 3.x versions.
|
DuplicateKeyException |
Subclass of
WriteConcernException representing a duplicate key exception. |
MongoClientException |
A base class for exceptions indicating a failure condition within the driver.
|
MongoCursorNotFoundException |
Subclass of
MongoException representing a cursor-not-found exception. |
MongoException |
A general exception raised in Mongo
|
MongoException.CursorNotFound | Deprecated
This class will be dropped in 3.x versions.
|
MongoException.DuplicateKey | Deprecated
This class will be dropped in 3.x versions.
|
MongoException.Network | Deprecated
This class will be dropped in 3.x versions.
|
MongoExecutionTimeoutException |
Exception indicating that the execution of the current operation timed outas a result of the maximum operation time being exceeded.
|
MongoIncompatibleDriverException |
An exception indicating that this version of the driver is not compatible with at least one of the servers that it is currently
connected to.
|
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.
|
MongoServerSelectionException | |
MongoSocketException |
Subclass of
MongoException representing a network-related exception. |
MongoTimeoutException | |
MongoWaitQueueFullException | |
UnacknowledgedWriteException |
This exception is thrown if the application attempts to get information about the result of an unacknowledged write.
|
WriteConcernException |
An exception representing an error reported due to a write failure.
|
Main package with core files. @see Mongo is the main entry point.