enum WindowFunctionKind: string
Public API: explicitly declared with @visibility public.

The functions that are only window functions.

Each case holds the keyword. Source: https://dev.mysql.com/doc/refman/8.4/en/window-function-descriptions.html.

Reading the argument counts of a casedoctest
\SqlSemantics\Platform\MySql\Statement\Call\Window\WindowFunctionKind::Lead->arity() // => [1, 3]

Cases§

case RowNumber = 'ROW_NUMBER'
case Rank = 'RANK'
case DenseRank = 'DENSE_RANK'
case CumulativeDistribution = 'CUME_DIST'
case PercentRank = 'PERCENT_RANK'
case Tile = 'NTILE'
case Lead = 'LEAD'
case Lag = 'LAG'
case FirstValue = 'FIRST_VALUE'
case LastValue = 'LAST_VALUE'
case NthValue = 'NTH_VALUE'

Methods§

public function treatsNulls(): bool

Test cases 8§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 3
Other tests reaching this symbol 5

Relations§

Method calls 3
Constant reads 24
Type declarations 1