addStage method
Adds stage to the pipeline
Implementation
AggregationPipelineBuilder addStage(AggregationStage stage) {
stages.add(stage);
return this;
}
Adds stage to the pipeline
AggregationPipelineBuilder addStage(AggregationStage stage) {
stages.add(stage);
return this;
}