Method DenseRank
DenseRank<TInput>(ISetWindowFieldsPartition<TInput>)
Returns the document position (known as the rank) relative to other documents in the $setWindowFields stage partition.
Parameters
partition
ISetWindow <TInput>Fields Partition The partition.
Returns
- decimal
The document position.
Type Parameters
TInput
The type of the input documents in the partition.