pub trait JoinTactic<B0: BatchReader, B1: BatchReader<Time = B0::Time>, C> {
// Required method
fn prep(
&mut self,
input0: Vec<B0>,
input1: Vec<B1>,
fresh: Fresh,
meet: B0::Time,
) -> Box<dyn Iterator<Item = C>>;
}Expand description
A type that can manage the joining of lists of batches.
The trait is parameterized by the output container C, not by the builder that assembles it: a tactic
yields finished containers, and how it produces them (pushing records into a ContainerBuilder, or
otherwise) is its own concern.
Required Methods§
Sourcefn prep(
&mut self,
input0: Vec<B0>,
input1: Vec<B1>,
fresh: Fresh,
meet: B0::Time,
) -> Box<dyn Iterator<Item = C>>
fn prep( &mut self, input0: Vec<B0>, input1: Vec<B1>, fresh: Fresh, meet: B0::Time, ) -> Box<dyn Iterator<Item = C>>
Prepare the join of two lists of batches into an iterator of output containers.
The supplied fresh and meet indicate respectively which input is “novel”, and should drive the
join, as well as a lower bound on that input’s times, so that the other input can be loaded compacted.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".