Trait rtlola_interpreter::rtlola_mir::Window
source · 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§
sourcefn target(&self) -> StreamReference
fn target(&self) -> StreamReference
Returns a reference to the stream that will be aggregated by that window.
sourcefn caller(&self) -> StreamReference
fn caller(&self) -> StreamReference
Returns a reference to the stream in which expression this window occurs.
sourcefn op(&self) -> WindowOperation
fn op(&self) -> WindowOperation
Returns the aggregation operation the window uses.