org.springframework.data.mongodb.core.aggregation
Class TypedAggregation<I>
java.lang.Object
org.springframework.data.mongodb.core.aggregation.Aggregation
org.springframework.data.mongodb.core.aggregation.TypedAggregation<I>
public class TypedAggregation<I>
- extends Aggregation
A TypedAggregation is a special Aggregation that holds information of the input aggregation type.
- Author:
- Thomas Darimont, Oliver Gierke
| Methods inherited from class org.springframework.data.mongodb.core.aggregation.Aggregation |
bind, fields, group, group, limit, match, newAggregation, newAggregation, newAggregation, newAggregation, previousOperation, project, project, skip, sort, sort, toDbObject, toString, unwind |
TypedAggregation
public TypedAggregation(Class<I> inputType,
AggregationOperation... operations)
- Creates a new
TypedAggregation from the given AggregationOperations.
- Parameters:
operations - must not be null or empty.
getInputType
public Class<I> getInputType()
- Returns the input type for the
Aggregation.
- Returns:
- the inputType will never be null.
Copyright © 2011-2014-2014 Pivotal. All Rights Reserved.