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 |
AggregateToCollectionOperation
An operation that executes an aggregation that writes its results to a collection (which is what makes this a write operation rather than
a read operation).
|
class |
BaseWriteOperation
Abstract base class for write operations.
|
class |
CommandWriteOperation<T>
An operation that executes an arbitrary command that writes to the server.
|
class |
CreateCollectionOperation
An operation to create a collection
|
class |
CreateIndexesOperation
An operation that creates one or more indexes.
|
class |
CreateUserOperation
An operation to create a user.
|
class |
DeleteOperation
An operation that deletes one or more documents from a collection.
|
class |
DropCollectionOperation
Operation to drop a Collection in MongoDB.
|
class |
DropDatabaseOperation
Operation to drop a database in MongoDB.
|
class |
DropIndexOperation
An operation that drops an index.
|
class |
DropUserOperation
An operation to remove a user.
|
class |
FindAndDeleteOperation<T>
An operation that atomically finds and deletes a single document.
|
class |
FindAndReplaceOperation<T>
An operation that atomically finds and replaces a single document.
|
class |
FindAndUpdateOperation<T>
An operation that atomically finds and updates a single document.
|
class |
InsertOperation
An operation that inserts one or more documents into a collection.
|
class |
MapReduceToCollectionOperation
Operation that runs a Map Reduce against a MongoDB instance.
|
class |
MixedBulkWriteOperation
An operation to execute a series of write operations in bulk.
|
class |
RenameCollectionOperation
An operation that renames the given collection to the new name.
|
class |
UpdateOperation
An operation that updates a document in a collection.
|
class |
UpdateUserOperation
An operation that updates a user.
|
Modifier and Type | Method and Description |
---|---|
<T> void |
AsyncOperationExecutor.execute(AsyncWriteOperation<T> operation,
SingleResultCallback<T> callback)
Execute the write operation.
|
Copyright © 2016. All Rights Reserved.