Type Alias mz_compute::typedefs::FlatKeyValBatch

source ·
pub type FlatKeyValBatch<K, V, T, R> = OrdValBatch<MzFlatLayout<K, V, T, R>>;

Aliased Type§

struct FlatKeyValBatch<K, V, T, R> {
    pub storage: OrdValStorage<MzFlatLayout<K, V, T, R>>,
    pub description: Description<<<MzFlatLayout<K, V, T, R> as Layout>::Target as Update>::Time>,
    pub updates: usize,
}

Fields§

§storage: OrdValStorage<MzFlatLayout<K, V, T, R>>

The updates themselves.

§description: Description<<<MzFlatLayout<K, V, T, R> as Layout>::Target as Update>::Time>

Description of the update times this layer represents.

§updates: usize

The number of updates reflected in the batch.

We track this separately from storage because due to the singleton optimization, we may have many more updates than storage.updates.len(). It should equal that length, plus the number of singleton optimizations employed.