Expand description
Schema-agnostic windowing state-machine engines. An engine owns accumulator state, late
rejection, eviction and diff routing; the caller (the “face”) owns extraction and output
construction, handing over pre-bucketed events and translating WindowResults into diffs.
Modules§
Structs§
- Buffer
Key - EmitKey
- Group
Meta - The highest window start seen for a group, used to drop late events for already-closed windows.
- MetaKey
- State-cache key for a group’s
GroupMeta, tagged into a keyspace distinct from the per-window accumulators. - Running
Key - Window
Result - A finalized window the engine produced; the face turns it into a diff.
- Window
State Key
Enums§
- Accumulator
Event - One contribution routed to a window accumulator.
- Emit
Kind - How a finalized window value should be emitted downstream.
- Expiry
Anchor - Which coordinate a window’s expiry-index entry is ordered by, and so which coordinate its seal horizon is measured from.