Package org.springframework.data.mongodb.core.bulk
@NullMarked
package org.springframework.data.mongodb.core.bulk
Abstraction for MongoDB bulk write
operations.
-
ClassDescriptionContainer for an ordered list of
bulk operationsthat modify documents in one or more collections within a single request.Builder for definingbulk operationsacross one or more collections.Builder for adding bulk operations (insert, update, replace, remove) to a single collection.A single operation (insert, update, replace, or remove) within aBulk.Insert operation: insert a single document.Remove operation: delete documents matching theBulkOperation.Remove.query().Remove-one operation: delete the first document matching theBulkOperation.Remove.query().Replace operation: replace the document matching theBulkOperation.Replace.query()with theBulkOperation.Replace.replacement()document.Update operation: update documents matching theBulkOperation.Update.query().Update-one operation: update the first document matching theBulkOperation.Update.query().Context for aBulkOperation, providing the target namespace (database and collection) and optional domain type used for mapping.Value object holding namespace (database and collection) information and an optional domain type used for mappingbulk operations.Execution order for bulk write operations.Result of aBulkwrite execution.