Expand description
Event time, watermarks, and timer management.
Structs§
- Ascending
Timestamps Generator - Watermark generator for strictly ascending timestamps.
- Bounded
OutOf Orderness Generator - Watermark generator with bounded out-of-orderness.
- Cast
Error - Error returned when a column isn’t a
Timestamp(_)type or Arrow’s cast kernel fails. - Event
Time Extractor - Extracts event timestamps from Arrow
RecordBatchcolumns. - Periodic
Generator - Periodic watermark generator that emits at fixed wall-clock intervals.
- Processing
Time Generator - Processing-time watermark generator.
- Punctuated
Generator - Punctuated watermark generator that emits based on special events.
- Source
Provided Generator - Watermark generator for sources with embedded watermarks.
- Timer
Registration - A timer registration for delayed processing.
- Timer
Service - Timer service for scheduling and managing timers.
- Watermark
- A watermark indicating event time progress.
- Watermark
Tracker - Tracks watermarks across multiple input sources.
Enums§
- Event
Time Error - Errors that can occur during event time extraction.
- Extraction
Mode - Multi-row extraction strategy.
- Threshold
Op - Direction of timestamp threshold comparison.
- Time
Error - Errors that can occur in time operations.
- Timestamp
Field - Column identifier for timestamp field.
Traits§
- Watermark
Generator - Trait for generating watermarks from event timestamps.
Functions§
- cast_
to_ millis_ array - Cast any
Timestamp(_)array toTimestampMillisecondArray. - filter_
batch_ by_ timestamp - Filter a
RecordBatchby comparing aTimestamp(_)column against a millisecond threshold. ReturnsOk(None)when no rows survive. - parse_
duration_ str - Parses a config duration string. Returns
Noneon malformed input.
Type Aliases§
- Fired
Timers Vec - Collection type for fired timers.
- Timer
Key - Timer key type optimized for window IDs (16 bytes).