pub struct MergeBatcher<Input, C, M: Merger> { /* private fields */ }Expand description
Creates batches from containers of unordered tuples.
To implement Batcher, the container builder C must accept &mut Input as inputs,
and must produce outputs of type M::Chunk.
Trait Implementations§
Source§impl<Input, C, M> Batcher for MergeBatcher<Input, C, M>where
C: ContainerBuilder<Container = M::Chunk> + for<'a> PushInto<&'a mut Input>,
M: Merger<Time: Timestamp>,
impl<Input, C, M> Batcher for MergeBatcher<Input, C, M>where
C: ContainerBuilder<Container = M::Chunk> + for<'a> PushInto<&'a mut Input>,
M: Merger<Time: Timestamp>,
Source§fn push_container(&mut self, container: &mut Input)
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>
fn frontier(&mut self) -> AntichainRef<'_, M::Time>
The frontier of elements remaining after the most recent call to self.seal.
Auto Trait Implementations§
impl<Input, C, M> Freeze for MergeBatcher<Input, C, M>
impl<Input, C, M> !RefUnwindSafe for MergeBatcher<Input, C, M>
impl<Input, C, M> !Send for MergeBatcher<Input, C, M>
impl<Input, C, M> !Sync for MergeBatcher<Input, C, M>
impl<Input, C, M> Unpin for MergeBatcher<Input, C, M>
impl<Input, C, M> !UnwindSafe for MergeBatcher<Input, C, M>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
Source§fn plus_equals(&mut self, rhs: &&'a S)
fn plus_equals(&mut self, rhs: &&'a S)
The method of
std::ops::AddAssign, for types that do not implement AddAssign.