Package com.mongodb.client.model.bulk
Interface ClientDeleteOneOptions
The options to apply when deleting a document.
- Since:
- 5.3
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClientDeleteOneOptionsCreates the default options.Sets the collation.Sets the index specification,null-ifies hint string.hintString(String hintString) Sets the index name,null-ifies hint.
-
Method Details
-
clientDeleteOneOptions
Creates the default options.- Returns:
- The default options.
-
collation
Sets the collation.- Parameters:
collation- The collation.nullrepresents the server default.- Returns:
this.
-
hint
Sets the index specification,null-ifies hint string.- Parameters:
hint- The index specification.nullrepresents the server default.- Returns:
this.
-
hintString
Sets the index name,null-ifies hint.- Parameters:
hintString- The index name.nullrepresents the server default.- Returns:
this.
-