Package | Description |
---|---|
com.mongodb |
This package is the main entry point to the MongoDB Java Driver, and it contains the classes for the existing API from 2.x versions.
|
com.mongodb.async.client |
This packages contains classes for the new async client
|
com.mongodb.binding |
This package contains classes that manage binding to MongoDB servers for various operations.
|
com.mongodb.bulk |
Contains classes for representing the result of a bulk write operation.
|
com.mongodb.client |
This package contains client interfaces
|
com.mongodb.client.gridfs |
This package contains the new GridFS implementation
|
com.mongodb.client.model |
This package contains models and options that help describe MongoCollection operations
|
com.mongodb.connection |
Contains classes that manage connecting to MongoDB servers.
|
com.mongodb.connection.netty |
This package contains netty specific classes
|
com.mongodb.gridfs |
Contains the classes for supporting MongoDB's specification for storing very large files, GridFS.
|
com.mongodb.operation |
The core of the MongoDB driver works via operations, using the command pattern.
|
com.mongodb.selector |
Contains classes that determine how to select the server to connect to in order to send commands or queries.
|
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.
|
AuthenticationMechanism
An enumeration of the MongodDB-supported authentication mechanisms.
|
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.
|
CursorType
An enumeration of cursor types.
|
DB
A thread-safe client view of a logical database in a MongoDB cluster.
|
DBAddress
Deprecated.
This class is no longer needed, as the driver does not rely on it for anything anymore. Use
ServerAddress instead. |
DBCallback
The DB callback interface.
|
DBCallbackFactory
Factory for creating concrete implementations of DBCallback.
|
DBCollection
Implementation of a database collection.
|
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. |
DBRef
A representation of a database reference.
|
ErrorCategory
A categorization of errors returned by a MongoDB server command.
|
ExplainVerbosity
An enumeration of the verbosity levels available for explaining query execution.
|
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.
|
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 with the MongoClient.
|
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
Top level Exception for all Exceptions, server-side or client-side, that come from the driver.
|
MongoOptions
Deprecated.
Please use
MongoClientOptions instead. |
MongoQueryException
An exception indicating that a query operation failed on the server.
|
MongoServerException
An exception indicating that some error has been raised by a MongoDB server in response to an operation.
|
MongoSocketException
Subclass of
MongoException representing a network-related exception |
MongoURI
Deprecated.
Replaced by
MongoClientURI |
ParallelScanOptions
The options to use for a parallel collection scan.
|
ParallelScanOptions.Builder
A builder for the options
|
QueryBuilder
Utility for creating DBObject queries
|
ReadConcern
The readConcern option allows clients to choose a level of isolation for their reads.
|
ReadConcernLevel
The readConcern option allows clients to choose a level of isolation for their reads.
|
ReadPreference
A 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 |
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.
|
WriteConcernResult
The result of a successful write operation.
|
WriteError
Represents the details of a write error , e.g.
|
WriteResult
This class lets you access the results of the previous acknowledged write.
|
Class and Description |
---|
Block
An interface for applying some logic against the given parameter.
|
ConnectionString
Represents a Connection String.
|
MongoCredential
Represents credentials to authenticate to a mongo server,as well as the source of the credentials and the authentication mechanism to
use.
|
ReadConcern
The readConcern option allows clients to choose a level of isolation for their reads.
|
ReadPreference
A class that represents preferred replica set members to which a query or command can be sent.
|
WriteConcern
Controls the acknowledgment of write operations with various options.
|
Class and Description |
---|
ReadPreference
A class that represents preferred replica set members to which a query or command can be sent.
|
ServerAddress
Represents the location of a Mongo server - i.e.
|
Class and Description |
---|
WriteError
Represents the details of a write error , e.g.
|
Class and Description |
---|
Block
An interface for applying some logic against the given parameter.
|
CursorType
An enumeration of cursor types.
|
Function
Apply a function to the input object yielding an appropriate result object.
|
MongoNamespace
A MongoDB namespace, which includes a database name and collection name.
|
ReadConcern
The readConcern option allows clients to choose a level of isolation for their reads.
|
ReadPreference
A class that represents preferred replica set members to which a query or command can be sent.
|
ServerAddress
Represents the location of a Mongo server - i.e.
|
ServerCursor
A class representing a cursor id associated with a server address (host/port) Since cursor ids are only useful in the context of a single
MongoDB server process, you need both values to do a getMore on the cursor.
|
WriteConcern
Controls the acknowledgment of write operations with various options.
|
Class and Description |
---|
ReadConcern
The readConcern option allows clients to choose a level of isolation for their reads.
|
ReadPreference
A class that represents preferred replica set members to which a query or command can be sent.
|
WriteConcern
Controls the acknowledgment of write operations with various options.
|
Class and Description |
---|
CursorType
An enumeration of cursor types.
|
Class and Description |
---|
ConnectionString
Represents a Connection String.
|
MongoBulkWriteException
An exception that represents all errors associated with a bulk write operation.
|
MongoCredential
Represents credentials to authenticate to a mongo server,as well as the source of the credentials and the authentication mechanism to
use.
|
MongoNamespace
A MongoDB namespace, which includes a database name and collection name.
|
ServerAddress
Represents the location of a Mongo server - i.e.
|
ServerCursor
A class representing a cursor id associated with a server address (host/port) Since cursor ids are only useful in the context of a single
MongoDB server process, you need both values to do a getMore on the cursor.
|
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.
|
WriteConcernResult
The result of a successful write operation.
|
Class and Description |
---|
ServerAddress
Represents the location of a Mongo server - i.e.
|
Class and Description |
---|
DB
A thread-safe client view of a logical database in a MongoDB cluster.
|
DBCollection
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 |
---|
CursorType
An enumeration of cursor types.
|
ExplainVerbosity
An enumeration of the verbosity levels available for explaining query execution.
|
MongoCredential
Represents credentials to authenticate to a mongo server,as well as the source of the credentials and the authentication mechanism to
use.
|
MongoNamespace
A MongoDB namespace, which includes a database name and collection name.
|
ReadConcern
The readConcern option allows clients to choose a level of isolation for their reads.
|
ReadPreference
A class that represents preferred replica set members to which a query or command can be sent.
|
ServerAddress
Represents the location of a Mongo server - i.e.
|
ServerCursor
A class representing a cursor id associated with a server address (host/port) Since cursor ids are only useful in the context of a single
MongoDB server process, you need both values to do a getMore on the cursor.
|
WriteConcern
Controls the acknowledgment of write operations with various options.
|
WriteConcernResult
The result of a successful write operation.
|
Class and Description |
---|
ReadPreference
A class that represents preferred replica set members to which a query or command can be sent.
|
ServerAddress
Represents the location of a Mongo server - i.e.
|
Copyright © 2016. All Rights Reserved.