public class FindOneAndDeleteOptions extends Object
| Constructor and Description |
|---|
FindOneAndDeleteOptions() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getProjection()
Gets a document describing the fields to return for all matching documents.
|
Object |
getSort()
Gets the sort criteria to apply to the query.
|
FindOneAndDeleteOptions |
projection(Object projection)
Sets a document describing the fields to return for all matching documents.
|
FindOneAndDeleteOptions |
sort(Object sort)
Sets the sort criteria to apply to the query.
|
public Object getProjection()
public FindOneAndDeleteOptions projection(Object projection)
projection - the project document, which may be null. This can be of any type for which a
Codec is registeredpublic Object getSort()
public FindOneAndDeleteOptions sort(Object sort)
sort - the sort criteria, which may be null. This can be of any type for which a
Codec is registered