PbWindowStateSnapshot

Type Alias PbWindowStateSnapshot 

Source
pub type PbWindowStateSnapshot = WindowStateSnapshot;

Aliased Type§

pub struct PbWindowStateSnapshot {
    pub last_output_key: Option<StateKey>,
    pub function_state: Option<FunctionState>,
}

Fields§

§last_output_key: Option<StateKey>

The key of the last row that was output before this snapshot was taken. Absent when no row has been output yet.

§function_state: Option<FunctionState>

Function-specific state. The variant must match the window function type of the corresponding call; a mismatch is treated as a decode error.