Class MergeOperation.UniqueMergeId
java.lang.Object
org.springframework.data.mongodb.core.aggregation.MergeOperation.UniqueMergeId
- Enclosing class:
- MergeOperation
Value object representing the unique id used during the merge operation to identify duplicates in the target
collection.
- Author:
- Christoph Strobl
-
Method Summary
Modifier and TypeMethodDescriptionstatic MergeOperation.UniqueMergeId
id()
Merge Documents by using the MongoDB _id field.static MergeOperation.UniqueMergeId
ofIdFields
(String... fields)
-
Method Details
-
ofIdFields
-
id
Merge Documents by using the MongoDB _id field.- Returns:
- never null.
-