mz_compute::row_spine::spines

Type Alias RowBuilder

Source
pub type RowBuilder<T, R> = RcBuilder<OrdKeyBuilder<RowLayout<((Row, ()), T, R)>, TimelyStack<((Row, ()), T, R)>>>;

Aliased Type§

struct RowBuilder<T, R> { /* private fields */ }

Trait Implementations

Source§

impl<B> Builder for RcBuilder<B>
where B: Builder,

Functionality for building batches from ordered update sequences.

Source§

type Input = <B as Builder>::Input

Input item type.
Source§

type Time = <B as Builder>::Time

Timestamp type.
Source§

type Output = Rc<<B as Builder>::Output>

Output batch type.
Source§

fn with_capacity(keys: usize, vals: usize, upds: usize) -> RcBuilder<B>

Allocates an empty builder with capacity for the specified keys, values, and updates. Read more
Source§

fn push(&mut self, input: &mut <RcBuilder<B> as Builder>::Input)

Adds a chunk of elements to the batch. Read more
Source§

fn done( self, description: Description<<RcBuilder<B> as Builder>::Time>, ) -> Rc<<B as Builder>::Output>

Completes building and returns the batch.
Source§

fn seal( chain: &mut Vec<<RcBuilder<B> as Builder>::Input>, description: Description<<RcBuilder<B> as Builder>::Time>, ) -> <RcBuilder<B> as Builder>::Output

Builds a batch from a chain of updates corresponding to the indicated lower and upper bounds. Read more
Source§

fn new() -> Self

Allocates an empty builder. Read more