Trait differential_dataflow::trace::Batch
source · pub trait Batch<K, V, T, R>: BatchReader<K, V, T, R>where
Self: Sized,{
type Batcher: Batcher<K, V, T, R, Self>;
type Builder: Builder<K, V, T, R, Self>;
type Merger: Merger<K, V, T, R, Self>;
fn begin_merge(&self, other: &Self) -> Self::Merger { ... }
}Expand description
An immutable collection of updates.
Required Associated Types
sourcetype Batcher: Batcher<K, V, T, R, Self>
type Batcher: Batcher<K, V, T, R, Self>
A type used to assemble batches from disordered updates.
Provided Methods
sourcefn begin_merge(&self, other: &Self) -> Self::Merger
fn begin_merge(&self, other: &Self) -> Self::Merger
Initiates the merging of consecutive batches.
The result of this method can be exercised to eventually produce the same result
that a call to self.merge(other) would produce, but it can be done in a measured
fashion. This can help to avoid latency spikes where a large merge needs to happen.
Implementations on Foreign Types
sourceimpl<K, V, T, R, B: Batch<K, V, T, R>> Batch<K, V, T, R> for Rc<B>
impl<K, V, T, R, B: Batch<K, V, T, R>> Batch<K, V, T, R> for Rc<B>
An immutable collection of updates.
sourceimpl<K, V, T, R, B: Batch<K, V, T, R> + Abomonation> Batch<K, V, T, R> for Abomonated<B, Vec<u8>>
impl<K, V, T, R, B: Batch<K, V, T, R> + Abomonation> Batch<K, V, T, R> for Abomonated<B, Vec<u8>>
An immutable collection of updates.