Uses of Class
org.springframework.data.mongodb.core.aggregation.MergeOperation.WhenDocumentsMatch
Packages that use MergeOperation.WhenDocumentsMatch
Package
Description
Support for the MongoDB aggregation framework.
-
Uses of MergeOperation.WhenDocumentsMatch in org.springframework.data.mongodb.core.aggregation
Methods in org.springframework.data.mongodb.core.aggregation that return MergeOperation.WhenDocumentsMatchModifier and TypeMethodDescriptionMergeOperation.WhenDocumentsMatch.failOnMatch()Stop and fail the aggregation operation.MergeOperation.WhenDocumentsMatch.keepExistingDocument()Keep the existing document in the output collection.MergeOperation.WhenDocumentsMatch.mergeDocuments()Merge the matching documents.MergeOperation.WhenDocumentsMatch.replaceDocument()Replace the existing document in the output collection with the matching results document.MergeOperation.WhenDocumentsMatch.updateWith(List<AggregationOperation> aggregationPipeline) Use an aggregation pipeline to update the document in the collection.MergeOperation.WhenDocumentsMatch.updateWith(Aggregation aggregation) Use anAggregationto update the document in the collection.MergeOperation.WhenDocumentsMatch.whenMatchedOf(String value) Methods in org.springframework.data.mongodb.core.aggregation with parameters of type MergeOperation.WhenDocumentsMatchModifier and TypeMethodDescriptionMergeOperation.MergeOperationBuilder.whenDocumentsMatch(MergeOperation.WhenDocumentsMatch whenMatched) The action to take place when documents already exist in the target collection.MergeOperation.MergeOperationBuilder.whenMatched(MergeOperation.WhenDocumentsMatch whenMatched) The action to take place when documents already exist in the target collection.Constructors in org.springframework.data.mongodb.core.aggregation with parameters of type MergeOperation.WhenDocumentsMatchModifierConstructorDescriptionMergeOperation(MergeOperation.MergeOperationTarget into, MergeOperation.UniqueMergeId on, VariableOperators.Let let, MergeOperation.WhenDocumentsMatch whenMatched, MergeOperation.WhenDocumentsDontMatch whenNotMatched) Create new instance ofMergeOperation.