DB
FunctionsWindow

Window

12 Window functions in the NYXDB native function registry, with signatures, briefs, and measured medians where available.

12 functions in the window family. Each name links to its page; marks the variadic argument list (the engine declares no named parameters). A Measured value appears only where a benchmark corpus case joins by name (server-class hardware, median).

FunctionTypeDescriptionMeasured
cume_dist(…) → Float64windowCumulative distribution.
dense_rank(…) → UInt64windowDense rank without gaps.
first_value(…) → DynamicwindowFirst value in the window frame.
lag(…) → DynamicwindowValue from a previous row.
lag_in_frame(…) → DynamicwindowFrame-constrained lag.
last_value(…) → DynamicwindowLast value in the window frame.
lead(…) → DynamicwindowValue from a following row.
lead_in_frame(…) → DynamicwindowFrame-constrained lead.
nth_value(…) → DynamicwindowNth value in the window frame.
percent_rank(…) → Float64windowRelative rank as a fraction.
rank(…) → UInt64windowRank with gaps.
row_number(…) → UInt64windowRow number within the window.