risingwave_expr::window_function

Type Alias RowsFrameBound

source
pub type RowsFrameBound = FrameBound<usize>;

Aliased Type§

enum RowsFrameBound {
    UnboundedPreceding,
    Preceding(usize),
    CurrentRow,
    Following(usize),
    UnboundedFollowing,
}

Variants§

§

UnboundedPreceding

§

Preceding(usize)

§

CurrentRow

§

Following(usize)

§

UnboundedFollowing

Implementations§

source§

impl RowsFrameBound

source§

impl RowsFrameBound

source

pub fn to_offset(&self) -> Option<isize>

Convert the bound to sized offset from current row. None if the bound is unbounded.