Package | Description |
---|---|
com.mongodb |
The core mongodb package
|
com.mongodb.async.client |
This packages contains classes for the new async client
|
com.mongodb.client |
This package contains classes for the new client api for MongoDatabase and MongoCollection
|
com.mongodb.client.model |
This package contains models and options that help describe MongoCollection operations
|
Modifier and Type | Method and Description |
---|---|
TDocument |
MongoCollectionImpl.findOneAndDelete(Bson filter,
FindOneAndDeleteOptions options) |
Modifier and Type | Method and Description |
---|---|
void |
MongoCollection.findOneAndDelete(Bson filter,
FindOneAndDeleteOptions options,
SingleResultCallback<TDocument> callback)
Atomically find a document and remove it.
|
void |
MongoCollectionImpl.findOneAndDelete(Bson filter,
FindOneAndDeleteOptions options,
SingleResultCallback<TDocument> callback) |
Modifier and Type | Method and Description |
---|---|
TDocument |
MongoCollection.findOneAndDelete(Bson filter,
FindOneAndDeleteOptions options)
Atomically find a document and remove it.
|
Modifier and Type | Method and Description |
---|---|
FindOneAndDeleteOptions |
FindOneAndDeleteOptions.collation(Collation collation)
Sets the collation options
|
FindOneAndDeleteOptions |
FindOneAndDeleteOptions.maxTime(long maxTime,
java.util.concurrent.TimeUnit timeUnit)
Sets the maximum execution time on the server for this operation.
|
FindOneAndDeleteOptions |
FindOneAndDeleteOptions.projection(Bson projection)
Sets a document describing the fields to return for all matching documents.
|
FindOneAndDeleteOptions |
FindOneAndDeleteOptions.sort(Bson sort)
Sets the sort criteria to apply to the query.
|