Module spring.data.mongodb
Interface LookupOperation.PipelineBuilder
- All Superinterfaces:
LookupOperation.LetBuilder
- All Known Subinterfaces:
LookupOperation.AsBuilder,LookupOperation.LocalFieldBuilder
- All Known Implementing Classes:
LookupOperation.LookupOperationBuilder
- Enclosing class:
- LookupOperation
- Since:
- 4.1
- Author:
- Christoph Strobl
-
Method Summary
Modifier and TypeMethodDescriptiondefault LookupOperation.AsBuilderpipeline(AggregationOperation... stages) Specifies thestagesthat determine the resulting documents.pipeline(AggregationPipeline pipeline) Specifies thepipelinethat determines the resulting documents.Methods inherited from interface org.springframework.data.mongodb.core.aggregation.LookupOperation.LetBuilder
let, let
-
Method Details
-
pipeline
Specifies thepipelinethat determines the resulting documents.- Parameters:
pipeline- must not be null.- Returns:
- never null.
-
pipeline
Specifies thestagesthat determine the resulting documents.- Parameters:
stages- must not be null can be empty.- Returns:
- never null.
-
as
- Parameters:
name- the name of the new array field to add to the input documents, must not be null or empty.- Returns:
- new instance of
LookupOperation.
-