| 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
Builder for creating
AggregationOptions. |
| AggregationOptions.OutputMode
Enumeration to define where the results of the aggregation will be output.
|
| AggregationOutput
Container for the result of aggregation operation.
|
| BasicDBObject
A basic implementation of BSON object that is MongoDB specific.
|
| BasicDBObjectBuilder
Utility for building complex objects.
|
| 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 to hold the result of a command.
|
| Cursor
Interface for providing consistent behaviour between different Cursor implementations.
|
| DB
A thread-safe client view of a logical database in a MongoDB cluster.
|
| DBAddress
Represents a database address, which includes the properties of ServerAddress (host and port) and adds a database name.
|
| DBCallback
The DB callback interface.
|
| DBCallbackFactory
Factory for creating concrete implementations of DBCallback.
|
| 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
An interface for decoders of BSON into instances of DBObject that belong to a DBCollection.
|
| DBDecoderFactory
Creates concrete DBDecoder instances.
|
| DBEncoder
An interface for encoders of BSONObject to BSON.
|
| DBEncoderFactory
Creates concrete DBEncoder instances.
|
| DBObject
This interface adds some specific behaviour to
BSONObject for MongoDB documents. |
| 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.
|
| DBRefBase
Deprecated.
Use
DBRef class exclusively |
| 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
|
| InsertOptions
Options related to insertion of documents into MongoDB.
|
| LazyDBCallback
A
BSONCallback for the creation of LazyDBObject and LazyDBList instances. |
| LazyDBDecoder
A decoder for
LazyDBObject instances. |
| LazyDBObject
An immutable
DBObject backed by a byte buffer that lazily provides keys and values on request. |
| 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.
|
| MongoCommandException
An exception indicating that a command sent to a MongoDB server returned a failure.
|
| 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
Top level Exception for all Exceptions, server-side or client-side, that come from the driver.
|
| MongoInternalException
A 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
An exception indicating that the driver has timed out waiting for either a server or a connection to become available.
|
| MongoURI
This class has been replaced by
MongoClientURI, and the documentation has been moved to that class. |
| MongoWaitQueueFullException
An exception indicating that the queue for waiting for a pooled connection is full.
|
| 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
Represents the location of a Mongo server - i.e.
|
| Tag
A replica set tag.
|
| TaggableReadPreference
Abstract class for all preference which can be combined with tags
|
| TagSet
An immutable set of tags, used to select members of a replica set to use for read operations.
|
| WriteConcern
Controls the acknowledgment of write operations with various options.
|
| WriteConcern.Majority
A write concern that blocks acknowledgement of a write operation until a majority of replica set members have applied it.
|
| 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
This interface adds some specific behaviour to
BSONObject for MongoDB documents. |
| 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
This interface adds some specific behaviour to
BSONObject for MongoDB documents. |