pub trait Window {
    fn target(&self) -> StreamReference;
    fn caller(&self) -> StreamReference;
    fn op(&self) -> WindowOperation;
    fn ty(&self) -> &Type;
}
Expand description

A trait for any kind of window

Required Methods§

source

fn target(&self) -> StreamReference

Returns a reference to the stream that will be aggregated by that window.

source

fn caller(&self) -> StreamReference

Returns a reference to the stream in which expression this window occurs.

source

fn op(&self) -> WindowOperation

Returns the aggregation operation the window uses.

source

fn ty(&self) -> &Type

Returns the type of value the window produces.

Implementors§