Package | Description |
---|---|
com.mongodb.binding |
This package contains classes that manage binding to MongoDB servers for various operations.
|
com.mongodb.operation |
The core of the MongoDB driver works via operations, using the command pattern.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ReadWriteBinding
A factory of connection sources to servers that can be read from or written to.
|
Modifier and Type | Class and Description |
---|---|
class |
ClusterBinding
A simple ReadWriteBinding implementation that supplies write connection sources bound to a possibly different primary each time, and a
read connection source bound to a possible different server each time.
|
class |
SingleServerBinding
A simple binding where all connection sources are bound to the server specified in the constructor.
|
Modifier and Type | Method and Description |
---|---|
WriteBinding |
WriteBinding.retain() |
Modifier and Type | Method and Description |
---|---|
Void |
CreateUserOperation.execute(WriteBinding binding) |
T |
WriteOperation.execute(WriteBinding binding)
General execute which can return anything of type T
|
BsonDocument |
FsyncUnlockOperation.execute(WriteBinding binding) |
Void |
DropDatabaseOperation.execute(WriteBinding binding) |
T |
FindAndDeleteOperation.execute(WriteBinding binding) |
Void |
DropUserOperation.execute(WriteBinding binding) |
WriteConcernResult |
BaseWriteOperation.execute(WriteBinding binding) |
Void |
AggregateToCollectionOperation.execute(WriteBinding binding) |
Void |
CreateCollectionOperation.execute(WriteBinding binding) |
MapReduceStatistics |
MapReduceToCollectionOperation.execute(WriteBinding binding)
Executing this will return a cursor with your results in.
|
BulkWriteResult |
MixedBulkWriteOperation.execute(WriteBinding binding)
Executes a bulk write operation.
|
Void |
UpdateUserOperation.execute(WriteBinding binding) |
Void |
DropCollectionOperation.execute(WriteBinding binding) |
T |
FindAndUpdateOperation.execute(WriteBinding binding) |
T |
FindAndReplaceOperation.execute(WriteBinding binding) |
Void |
CreateIndexesOperation.execute(WriteBinding binding) |
Void |
RenameCollectionOperation.execute(WriteBinding binding)
Rename the collection with
oldCollectionName in database databaseName to the newCollectionName . |
Void |
DropIndexOperation.execute(WriteBinding binding) |
T |
CommandWriteOperation.execute(WriteBinding binding) |
Copyright © 2016. All Rights Reserved.