Package | Description |
---|---|
com.mongodb.operation |
The core of the MongoDB driver works via operations, using the command pattern.
|
Modifier and Type | Class and Description |
---|---|
class |
AggregateOperation<T>
An operation that executes an aggregation query.
|
class |
CommandReadOperation<T>
An operation that executes an arbitrary command that reads from the server.
|
class |
CountOperation
An operation that executes a count.
|
class |
CurrentOpOperation
An operation that determines the current operation on a MongoDB server.
|
class |
DistinctOperation<T>
Finds the distinct values for a specified field across a single collection.
|
class |
FindOperation<T>
An operation that queries a collection using the provided criteria.
|
class |
GroupOperation<T>
Groups documents in a collection by the specified key and performs simple aggregation functions, such as computing counts and sums.
|
class |
ListCollectionsOperation<T>
An operation that provides a cursor allowing iteration through the metadata of all the collections in a database.
|
class |
ListDatabasesOperation<T>
An operation that provides a cursor allowing iteration through the metadata of all the databases for a MongoClient.
|
class |
ListIndexesOperation<T>
An operation that lists the indexes that have been created on a collection.
|
class |
MapReduceWithInlineResultsOperation<T>
Operation that runs a Map Reduce against a MongoDB instance.
|
class |
ParallelCollectionScanOperation<T>
Return a list of cursors over the collection that can be used to scan it in parallel.
|
class |
UserExistsOperation
An operation that determines if a user exists.
|
Modifier and Type | Method and Description |
---|---|
ReadOperation<BsonDocument> |
CountOperation.asExplainableOperation(ExplainVerbosity explainVerbosity)
Gets an operation whose execution explains this operation.
|
ReadOperation<BsonDocument> |
AggregateOperation.asExplainableOperation(ExplainVerbosity explainVerbosity)
Gets an operation whose execution explains this operation.
|
ReadOperation<BsonDocument> |
MapReduceToCollectionOperation.asExplainableOperation(ExplainVerbosity explainVerbosity)
Gets an operation whose execution explains this operation.
|
ReadOperation<BsonDocument> |
FindOperation.asExplainableOperation(ExplainVerbosity explainVerbosity)
Gets an operation whose execution explains this operation.
|
ReadOperation<BsonDocument> |
MapReduceWithInlineResultsOperation.asExplainableOperation(ExplainVerbosity explainVerbosity)
Gets an operation whose execution explains this operation.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
OperationExecutor.execute(ReadOperation<T> operation,
ReadPreference readPreference)
Execute the read operation with the given read preference.
|
Copyright © 2016. All Rights Reserved.