Trait differential_dataflow::trace::Batch
source · pub trait Batch: BatchReaderwhere
Self: Sized,{
type Merger: Merger<Self>;
// Provided method
fn begin_merge(
&self,
other: &Self,
compaction_frontier: AntichainRef<'_, Self::Time>,
) -> Self::Merger { ... }
}
Expand description
An immutable collection of updates.
Required Associated Types§
Provided Methods§
sourcefn begin_merge(
&self,
other: &Self,
compaction_frontier: AntichainRef<'_, Self::Time>,
) -> Self::Merger
fn begin_merge( &self, other: &Self, compaction_frontier: AntichainRef<'_, Self::Time>, ) -> 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.
Object Safety§
This trait is not object safe.