pub enum FloType {
Source,
Windowing,
WindowingLazy,
WindowingRetain,
WindowingEager,
Unwindowing,
}Expand description
Operator type for Flo semantics.
Variants§
Source
A source operator, which must be at the top level.
Windowing
A windowing operator, for moving data into a loop context.
WindowingLazy
A lazy windowing operator — moves data into a loop context but does not trigger the loop. Data is dropped if the loop does not fire that tick.
WindowingRetain
A retaining windowing operator — moves data into a loop context but does not trigger the
loop. Unlike FloType::WindowingLazy, state is retained across ticks and emitted, as
clones, every time the loop fires — it is not consumed. The shape of the retained state
depends on the operator: snapshot() keeps a single last-write-wins value,
snapshot_keyed() the latest value per key, and snapshot_prefix() every element received
so far. Only valid at the entry of a root-level loop (nested loops iterate within a single
tick, so cross-tick retention does not apply).
WindowingEager
An eager windowing operator — moves data into a loop context and always triggers the loop, even when the windowed input is empty. Only valid at the entry of a root-level loop (it is disallowed in nested loops, where it would prevent the fixpoint iteration from terminating).
Unwindowing
An un-windowing operator, for moving data out of a loop context.
Trait Implementations§
impl Copy for FloType
impl Eq for FloType
Source§impl Ord for FloType
impl Ord for FloType
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialOrd for FloType
impl PartialOrd for FloType
impl StructuralPartialEq for FloType
Auto Trait Implementations§
impl Forget for FloType
impl Freeze for FloType
impl Move for FloType
impl RefUnwindSafe for FloType
impl Send for FloType
impl Sync for FloType
impl Unpin for FloType
impl UnsafeUnpin for FloType
impl UnwindSafe for FloType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more