WindowType in sqlparser::ast - Rust

Skip to main content

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.

Trait Implementations§

Auto Trait Implementations§

§

impl Freeze for WindowType

§

impl RefUnwindSafe for WindowType

§

impl Send for WindowType

§

impl Sync for WindowType

§

impl Unpin for WindowType

§

impl UnwindSafe for WindowType

Blanket Implementations§