differential_dataflow::trace::implementations::rhh

Type Alias VecBatcher

Source
pub type VecBatcher<K, V, T, R> = MergeBatcher<Vec<((K, V), T, R)>, VecChunker<((K, V), T, R)>, VecMerger<(K, V), T, R>>;
Expand description

A batcher for ordered lists.

Aliased Type§

struct VecBatcher<K, V, T, R> { /* private fields */ }

Trait Implementations

Source§

impl<Input, C, M> Batcher for MergeBatcher<Input, C, M>
where C: ContainerBuilder<Container = M::Chunk> + Default + for<'a> PushInto<&'a mut Input>, M: Merger, M::Time: Timestamp,

Source§

fn push_container(&mut self, container: &mut Input)

Push a container of data into this merge batcher. Updates the internal chain structure if needed.

Source§

fn frontier(&mut self) -> AntichainRef<'_, M::Time>

The frontier of elements remaining after the most recent call to self.seal.

Source§

type Input = Input

Type pushed into the batcher.
Source§

type Time = <M as Merger>::Time

Times at which batches are formed.
Source§

type Output = <M as Merger>::Chunk

Type produced by the batcher.
Source§

fn new(logger: Option<Logger>, operator_id: usize) -> Self

Allocates a new empty batcher.
Source§

fn seal<B: Builder<Input = Self::Output, Time = Self::Time>>( &mut self, upper: Antichain<M::Time>, ) -> B::Output

Returns all updates not greater or equal to an element of upper.
Source§

impl<Input, C, M> Drop for MergeBatcher<Input, C, M>
where M: Merger,

Source§

fn drop(&mut self)

Executes the destructor for this type. Read more