Trait Window

Source
pub trait Window {
    // Required methods
    fn target(&self) -> StreamReference;
    fn caller(&self) -> StreamReference;
    fn op(&self) -> WindowOperation;
    fn ty(&self) -> &Type;
    fn memory_bound(&self) -> MemorizationBound;
}
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.

Source

fn memory_bound(&self) -> MemorizationBound

Returns the memorization bound of the window.

Implementors§