# WindowFunction

interface WindowFunction<T>

Interface for functions that can be used as window functions.

#### Inheritors

Min
Max
Avg
Sum
Count
StdDevPop
StdDevSamp
VarPop
VarSamp
RowNumber
Rank
DenseRank
PercentRank
CumeDist
Ntile
Lag
Lead
FirstValue
LastValue
NthValue

## Functions

over
Link copied to clipboard
abstract fun over(): WindowFunctionDefinition<T>

Returns window function definition.

toQueryBuilder
Link copied to clipboard
abstract fun toQueryBuilder(queryBuilder: QueryBuilder)

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