| 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 |
|---|
| 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()
|
| 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
|
| DBCallback
The DB callback interface.
|
| DBCallbackFactory
The DBCallback factory interface.
|
| DBCollection
This class provides a skeleton implementation of a database collection.
|
| DBConnector
Interface that provides the ability to exchange request/response with the database
|
| DBCursor
An iterator over database results.
|
| DBDecoder |
| DBDecoderFactory |
| DBEncoder |
| DBEncoderFactory |
| DBObject
A key-value map that can be saved to the database.
|
| 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.
|
| DBPortPool.NoMoreConnection |
| DBRefBase
represents a database reference, which points to an object stored in the database
|
| DBTCPConnector |
| 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
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
|
| 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.
|
| 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.
|
| MongoException
A general exception raised in Mongo
|
| MongoInternalException
An Mongo exception internal to the driver, not carrying any error code
|
| 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
|
| 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 |
| 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
an abstract class that represents a logical database on a server
|
| 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
This class is NOT part of the public API.
|
| Class and Description |
|---|
| DBObject
A key-value map that can be saved to the database.
|