final class WindowResults
Restricted visibility: declared "@visibility SqlSemantics\Platform\MySql". Code outside that scope must not name this declaration.

The result of a function that is only a window function.

Rule: MYSQL-WINDOW-RESULT-001. ROW_NUMBER, RANK, DENSE_RANK and NTILE are BIGINT UNSIGNED, CUME_DIST and PERCENT_RANK DOUBLE; none of them is NULL. LEAD and LAG have the aggregated type of the value and the default (MYSQL-TYPE-AGGREGATION-001); FIRST_VALUE, LAST_VALUE and NTH_VALUE the type of the value; each is NULL when the row is outside the frame or partition. IGNORE NULLS and FROM LAST are rejected by the server (ER_NOT_SUPPORTED_YET). Terminates: a fixed number of tests on one call. Source: https://dev.mysql.com/doc/refman/8.4/en/window-function-descriptions.html. Status: Implemented.

Methods§

public function result(
    WindowFunction $call,
    list<ScalarFact> $arguments,
    Derivation $derivation,
): ScalarFact

Answers the facts of a window function call and reports what the server rejects.

Parameters

$callWindowFunction
$argumentslist<ScalarFact>
$derivationDerivation

Returns

Test cases 2
Called from 1
Calls 26

Test cases 2§

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

Dedicated tests 2

Relations§

Instantiated in 1
Method calls 1