Rank

data class Rank(val metric: String, val within: List<String> = emptyList(), val direction: Sort.Direction = Sort.Direction.DESC) : DerivedExpression.Window

The dense rank of metric among the groups that share this group's within keys, in direction: tied values share a rank and ranks have no gaps. null for a group whose value is null.

Constructors

Link copied to clipboard
constructor(metric: String, within: List<String> = emptyList(), direction: Sort.Direction = Sort.Direction.DESC)

Properties

Link copied to clipboard
Link copied to clipboard
open override val metric: String
Link copied to clipboard