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§
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.
Sourcefn memory_bound(&self) -> MemorizationBound
fn memory_bound(&self) -> MemorizationBound
Returns the memorization bound of the window.