Package | Description |
---|---|
com.mongodb.operation |
The core of the MongoDB driver works via operations, using the command pattern.
|
Modifier and Type | Method and Description |
---|---|
FindAndDeleteOperation<T> |
FindAndDeleteOperation.filter(BsonDocument filter)
Sets the filter to apply to the query.
|
FindAndDeleteOperation<T> |
FindAndDeleteOperation.maxTime(long maxTime,
TimeUnit timeUnit)
Sets the maximum execution time on the server for this operation.
|
FindAndDeleteOperation<T> |
FindAndDeleteOperation.projection(BsonDocument projection)
Sets a document describing the fields to return for all matching documents.
|
FindAndDeleteOperation<T> |
FindAndDeleteOperation.sort(BsonDocument sort)
Sets the sort criteria to apply to the query.
|
Copyright © 2016. All Rights Reserved.