Skip to main content

Module timestamp

Module timestamp 

Source
Expand description

Timestamp-scan selection and progress kernels.

Functions§

earliest_max_timestamp_index
Select the earliest occurrence of the maximum timestamp.
first_timestamp_index
Select the first timestamp at or after target.
first_timestamp_record_index
First matching decoded record at or above the logical retention floor. A sparse byte read may start inside a batch that still contains discarded records; those records cannot satisfy the lookup.
timestamp_record_coordinates
Compute one record’s absolute offset and timestamp without signed overflow.
timestamp_record_time
Decode record time according to the batch timestamp type. Append time replaces producer fields entirely, including producer arithmetic overflow.
timestamp_scan_next
Advance strictly past a decoded batch, rejecting malformed or stale bounds.
timestamp_scan_window
Double a nonzero scan window with checked arithmetic.