Class DocumentOperators.DenseRank

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

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