public class TypedAggregation<I> extends Aggregation
TypedAggregation is a special Aggregation that holds information of the input aggregation type.DEFAULT_CONTEXT| Constructor and Description |
|---|
TypedAggregation(Class<I> inputType,
AggregationOperation... operations)
Creates a new
TypedAggregation from the given AggregationOperations. |
| Modifier and Type | Method and Description |
|---|---|
Class<I> |
getInputType()
Returns the input type for the
Aggregation. |
bind, fields, group, group, limit, match, newAggregation, newAggregation, newAggregation, newAggregation, previousOperation, project, project, skip, sort, sort, toDbObject, toString, unwindpublic TypedAggregation(Class<I> inputType, AggregationOperation... operations)
TypedAggregation from the given AggregationOperations.operations - must not be null or empty.public Class<I> getInputType()
Aggregation.Copyright © 2021. All rights reserved.