Package com.mongodb
Class BulkUpdateRequestBuilder
java.lang.Object
com.mongodb.BulkUpdateRequestBuilder
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
A builder for a single update request.
- Since:
- 2.12
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Sets the collationDeprecated.Gets the array filters to apply to the update operationDeprecated.Returns the collationvoidreplaceOne(DBObject document) Deprecated.Adds a request to replace one document in the collection that matches the query with which this builder was created.voidDeprecated.Adds a request to update all documents in the collection that match the query with which this builder was created.voidDeprecated.Adds a request to update one document in the collection that matches the query with which this builder was created.
-
Method Details
-
getCollation
Deprecated.Returns the collation- Returns:
- the collation
- Since:
- 3.4
-
collation
Deprecated.Sets the collation- Parameters:
collation- the collation- Returns:
- this
- Since:
- 3.4
-
getArrayFilters
Deprecated.Gets the array filters to apply to the update operation- Returns:
- the array filters, which may be null
- Since:
- 3.6
-
replaceOne
Deprecated.Adds a request to replace one document in the collection that matches the query with which this builder was created.- Parameters:
document- the replacement document, which must be structured just as a document you would insert. It can not contain any update operators.
-
update
Deprecated.Adds a request to update all documents in the collection that match the query with which this builder was created.- Parameters:
update- the update criteria
-
updateOne
Deprecated.Adds a request to update one document in the collection that matches the query with which this builder was created.- Parameters:
update- the update criteria
-