Uses of Class
org.springframework.data.mongodb.core.aggregation.ObjectOperators.MergeObjects
Package
Description
Support for the MongoDB aggregation framework.
-
Uses of ObjectOperators.MergeObjects in org.springframework.data.mongodb.core.aggregation
Modifier and TypeMethodDescriptionstatic ObjectOperators.MergeObjects
Creates newaggregation expression
that takes given values and combines them into a single document.ObjectOperators.ObjectOperatorFactory.merge()
Creates newaggregation expression
that takes the associated value and uses $mergeObjects as an accumulator within the $group stage.static ObjectOperators.MergeObjects
ObjectOperators.MergeObjects.mergeValuesOf
(String... fieldReferences) Creates newaggregation expression
that takes the givenfield references
and combines them into a single document.static ObjectOperators.MergeObjects
ObjectOperators.MergeObjects.mergeValuesOf
(AggregationExpression... expressions) Creates newaggregation expression
that takes the result of the givenexpressions
and combines them into a single document.Creates newaggregation expression
by adding the given values (documents or mapped objects).Creates newaggregation expression
that takes the associated value and combines it with the given values (documents or mapped objects) into a single document.ObjectOperators.MergeObjects.mergeWithValuesOf
(String... fieldReferences) Creates newaggregation expression
by adding the givenfield references
.ObjectOperators.MergeObjects.mergeWithValuesOf
(AggregationExpression... expression) Creates newaggregation expression
by adding the givenexpressions
.ObjectOperators.ObjectOperatorFactory.mergeWithValuesOf
(String... fieldReferences) Creates newaggregation expression
that takes the associated value and combines it with the values of the givenfield references
into a single document.ObjectOperators.ObjectOperatorFactory.mergeWithValuesOf
(AggregationExpression... expression) Creates newaggregation expression
that takes the associated value and combines it with the result values of the givenexpressions
into a single document.