Class DocumentOperators.Rank

java.lang.Object
org.springframework.data.mongodb.core.aggregation.DocumentOperators.Rank
All Implemented Interfaces:
AggregationExpression, MongoExpression
Enclosing class:
DocumentOperators

public static class DocumentOperators.Rank extends Object implements AggregationExpression
DocumentOperators.Rank resolves the current document position (the rank) relative to other documents. If multiple documents occupy the same rank, $rank places the document with the subsequent value at a rank with a gap.
Since:
3.3
Author:
Christoph Strobl