Skip to main content

decode_temporal_epoch

Function decode_temporal_epoch 

Source
pub fn decode_temporal_epoch(bytes: Option<&[u8]>) -> Option<u64>
Expand description

Decode a persisted temporal-index epoch.

An absent or malformed value decodes to None. Unlike the geo index, a missing epoch means untrusted until the (auto-)rebuild stamps it: temporal literals predate the plugin, so a legacy store has an empty index and no epoch, and a trusted-empty index would answer rewritten comparisons with zero rows (answer-affecting, forbidden). The compute startup auto-rebuild closes the window before any query is served.