java.lang.Object
org.springframework.data.mongodb.core.aggregation.LimitOperation
All Implemented Interfaces:
AggregationOperation

public class LimitOperation extends Object implements AggregationOperation
Encapsulates the $limit-operation.

We recommend to use the static factory method Aggregation.limit(long) instead of creating instances of this class directly.

Since:
1.3
Author:
Thomas Darimont, Oliver Gierke, Christoph Strobl
See Also: