Uses of Class
org.springframework.data.mongodb.core.aggregation.MergeOperation.WhenDocumentsDontMatch
Packages that use MergeOperation.WhenDocumentsDontMatch
Package
Description
Support for the MongoDB aggregation framework.
-
Uses of MergeOperation.WhenDocumentsDontMatch in org.springframework.data.mongodb.core.aggregation
Methods in org.springframework.data.mongodb.core.aggregation that return MergeOperation.WhenDocumentsDontMatchModifier and TypeMethodDescriptionMergeOperation.WhenDocumentsDontMatch.discardDocument()Discard the document - do not insert the document into the output collection.MergeOperation.WhenDocumentsDontMatch.failWhenNotMatch()Stop and fail the aggregation operation.MergeOperation.WhenDocumentsDontMatch.insertNewDocument()Insert the document into the output collection.MergeOperation.WhenDocumentsDontMatch.whenNotMatchedOf(String value) Factory method creatingMergeOperation.WhenDocumentsDontMatchfrom avalueliteral.Methods in org.springframework.data.mongodb.core.aggregation with parameters of type MergeOperation.WhenDocumentsDontMatchModifier and TypeMethodDescriptionMergeOperation.MergeOperationBuilder.whenDocumentsDontMatch(MergeOperation.WhenDocumentsDontMatch whenNotMatched) The action to take place when documents do not already exist in the target collection.MergeOperation.MergeOperationBuilder.whenNotMatched(MergeOperation.WhenDocumentsDontMatch whenNotMatched) The action to take place when documents do not already exist in the target collection.Constructors in org.springframework.data.mongodb.core.aggregation with parameters of type MergeOperation.WhenDocumentsDontMatchModifierConstructorDescriptionMergeOperation(MergeOperation.MergeOperationTarget into, MergeOperation.UniqueMergeId on, VariableOperators.Let let, MergeOperation.WhenDocumentsMatch whenMatched, MergeOperation.WhenDocumentsDontMatch whenNotMatched) Create new instance ofMergeOperation.