Package | Description |
---|---|
com.mongodb.async.client |
This packages contains classes for the new async client
|
com.mongodb.client |
This package contains client interfaces
|
com.mongodb.client.model |
This package contains models and options that help describe MongoCollection operations
|
Modifier and Type | Method and Description |
---|---|
void |
MongoCollection.findOneAndDelete(Bson filter,
FindOneAndDeleteOptions options,
SingleResultCallback<TDocument> callback)
Atomically find a document and remove it.
|
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.maxTime(long maxTime,
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.
|
Copyright © 2016. All Rights Reserved.