public class AggregationPipeline extends Object
AggregationPipeline holds the collection of aggregation stages.| Constructor and Description |
|---|
AggregationPipeline()
Create an empty pipeline
|
AggregationPipeline(List<AggregationOperation> aggregationOperations)
Create a new pipeline with given
stages. |
| Modifier and Type | Method and Description |
|---|---|
AggregationPipeline |
add(AggregationOperation aggregationOperation)
Append the given
stage to the pipeline. |
List<AggregationOperation> |
getOperations()
Get the list of
aggregation stages. |
boolean |
isOutOrMerge() |
public AggregationPipeline()
public AggregationPipeline(List<AggregationOperation> aggregationOperations)
stages.aggregationOperations - must not be null.public AggregationPipeline add(AggregationOperation aggregationOperation)
stage to the pipeline.aggregationOperation - must not be null.public List<AggregationOperation> getOperations()
aggregation stages.public boolean isOutOrMerge()
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.