addStage method

Adds stage to the pipeline

Implementation

AggregationPipelineBuilder addStage(AggregationStage stage) {
  stages.add(stage);
  return this;
}