pub enum WindowType {
WindowSpec(WindowSpec),
NamedWindow(Ident),
}Expand description
The type of a window used in OVER clauses.
A window can be either an inline specification (WindowSpec) or a
reference to a previously defined named window.
WindowSpec(WindowSpec): An inline window specification, e.g.OVER (PARTITION BY ... ORDER BY ...).NamedWindow(Ident): A reference to a named window declared elsewhere.
Variants§
WindowSpec(WindowSpec)
An inline window specification.
NamedWindow(Ident)
A reference to a previously defined named window.