Uses of Class
org.springframework.data.mongodb.core.aggregation.UnionWithOperation
Package
Description
Support for the MongoDB aggregation framework.
-
Uses of UnionWithOperation in org.springframework.data.mongodb.core.aggregation
Modifier and TypeMethodDescriptionUnionWithOperation.mapFieldsTo
(Class<?> domainType) Set domain type used for field name mapping of property references used by theAggregationPipeline
.UnionWithOperation.pipeline
(List<AggregationOperation> aggregationStages) Set the aggregation pipeline stages to apply to the specified collection.UnionWithOperation.pipeline
(AggregationOperation... aggregationStages) Set the aggregation pipeline stages to apply to the specified collection.UnionWithOperation.pipeline
(AggregationPipeline pipeline) Set theAggregationPipeline
to apply to the specified collection.static UnionWithOperation
Set the name of the collection from which pipeline results should be included in the result set.
The collection name is used to set thecoll
parameter of$unionWith
.