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.| Constructor and Description |
|---|
DenseRank() |
| Modifier and Type | Method and Description |
|---|---|
org.bson.Document |
toDocument(AggregationOperationContext context)
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfrom, toDocumentcreate, createpublic org.bson.Document toDocument(AggregationOperationContext context)
AggregationExpressiontoDocument in interface AggregationExpressioncontext - must not be null.Document) form of the expression.Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.