| Package | Description |
|---|---|
| com.mongodb |
Main package with core files.
|
| com.mongodb.gridfs |
GridFS tools.
|
| com.mongodb.util |
Package containing misc utils.
|
| org.bson |
Contains the base BSON classes and Encoder/Decoder.
|
| Class and Description |
|---|
| AggregationOptions
The options to apply to an aggregate operation.
|
| AggregationOptions.Builder |
| AggregationOptions.OutputMode |
| AggregationOutput |
| 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.
|
| CommandResult
A simple wrapper for the result of getLastError() calls and other commands
|
| Cursor |
| DB
A thread-safe client view of a logical database in a MongoDB cluster.
|
| DBAddress
Represents a database address
|
| DBCallback
The DB callback interface.
|
| DBCallbackFactory
The DBCallback factory interface.
|
| DBCollection
This class provides a skeleton implementation of a database collection.
|
| DBConnector
Deprecated.
This class is NOT part of the public API. It will be dropped in 3.x releases.
|
| DBCursor
An iterator over database results.
|
| DBDecoder |
| DBDecoderFactory |
| DBEncoder |
| DBEncoderFactory |
| DBObject
A key-value map that can be saved to the database.
|
| 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.
|
| DBPortPool.NoMoreConnection
Deprecated.
This class will be dropped in 3.x versions.
Please catch
MongoClientException instead. |
| 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. It will be dropped in 3.x releases.
|
| DuplicateKeyException
Subclass of
WriteConcernException representing a duplicate key exception. |
| GroupCommand
This class groups the argument for a group operation and can build the underlying command object
|
| LazyDBCallback |
| LazyDBDecoder |
| LazyDBObject |
| MapReduceCommand
This class groups the argument for a map/reduce operation and can build the underlying command object
|
| MapReduceCommand.OutputType
Represents the different options available for outputting the results of a map-reduce operation.
|
| 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.
|
| MongoClientException
A base class for exceptions indicating a failure condition within the driver.
|
| 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.
|
| MongoCursorNotFoundException
Subclass of
MongoException representing a cursor-not-found exception. |
| MongoException
A general exception raised in Mongo
|
| MongoInternalException
An Mongo exception internal to the driver, not carrying any error code
|
| MongoOptions
Deprecated.
Replaced by
MongoClientOptions. |
| MongoSocketException
Subclass of
MongoException representing a network-related exception |
| MongoTimeoutException |
| MongoURI
Represents a URI
which can be used to create a Mongo instance.
|
| MongoWaitQueueFullException |
| ParallelScanOptions
The options to use for a parallel collection scan.
|
| ParallelScanOptions.Builder
A builder for the options
|
| QueryBuilder
Utility for creating DBObject queries
|
| ReadPreference
An abstract class that represents preferred replica set members to which a query or command can be sent.
|
| 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
|
| 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 |
| WriteConcernError
An error representing a failure by the server to apply the requested write concern to the bulk operation.
|
| WriteConcernException
An exception representing an error reported due to a write failure.
|
| WriteResult
This class lets you access the results of the previous write.
|
| Class and Description |
|---|
| DB
A thread-safe client view of a logical database in a MongoDB cluster.
|
| DBCollection
This class provides a skeleton implementation of a database collection.
|
| DBCursor
An iterator over database results.
|
| DBObject
A key-value map that can be saved to the database.
|
| Class and Description |
|---|
| InUseConnectionBean
Deprecated.
This class will be removed in 3.x versions of the driver,
so please remove it from your compile time dependencies.
|
| Class and Description |
|---|
| DBObject
A key-value map that can be saved to the database.
|