pub struct Batcher<T: Timestamp, S: BatcherStorage<T>> { /* private fields */ }Expand description
A batcher that simple merges BatcherStorage implementors.
Trait Implementations§
Source§impl<T: Timestamp, S: BatcherStorage<T>> Batcher for Batcher<T, S>
impl<T: Timestamp, S: BatcherStorage<T>> Batcher for Batcher<T, S>
Source§fn push_container(&mut self, batch: &mut Self::Input)
fn push_container(&mut self, batch: &mut Self::Input)
Adds an unordered container of elements to the batcher.
Source§fn seal<B: Builder<Input = Self::Output, Time = Self::Time>>(
&mut self,
upper: Antichain<Self::Time>,
) -> B::Output
fn seal<B: Builder<Input = Self::Output, Time = Self::Time>>( &mut self, upper: Antichain<Self::Time>, ) -> B::Output
Returns all updates not greater or equal to an element of
upper.Source§fn frontier(&mut self) -> AntichainRef<'_, Self::Time>
fn frontier(&mut self) -> AntichainRef<'_, Self::Time>
Returns the lower envelope of contained update times.
Auto Trait Implementations§
impl<T, S> Freeze for Batcher<T, S>where
T: Freeze,
impl<T, S> !RefUnwindSafe for Batcher<T, S>
impl<T, S> !Send for Batcher<T, S>
impl<T, S> !Sync for Batcher<T, S>
impl<T, S> Unpin for Batcher<T, S>
impl<T, S> !UnwindSafe for Batcher<T, S>
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.