java.lang.Object
org.springframework.data.mongodb.core.aggregation.CountOperation
All Implemented Interfaces:
AggregationOperation, FieldsExposingAggregationOperation

public class CountOperation extends Object implements FieldsExposingAggregationOperation
Encapsulates the aggregation framework $count-operation.
We recommend to use the static factory method Aggregation.count() instead of creating instances of this class directly.
Since:
1.10
Author:
Mark Paluch
See Also: