# Rank

class Rank : WindowFunction<Long>

Represents an SQL function that returns the rank of the current row, with gaps; that is, the row_number of the first row in its peer group.

## Constructors

Rank
Link copied to clipboard
constructor()

## Functions

over
Link copied to clipboard
open override fun over(): WindowFunctionDefinition<Long>

Returns window function definition.

toQueryBuilder
Link copied to clipboard
open override fun toQueryBuilder(queryBuilder: QueryBuilder)

Appends the SQL representation of this function to the specified queryBuilder.