pub trait Batcher<K, V, T, R, Output: Batch<K, V, T, R>> {
    fn new() -> Self;
    fn push_batch(&mut self, batch: &mut Vec<((K, V), T, R)>);
    fn seal(&mut self, upper: &[T]) -> Output;
    fn frontier(&mut self) -> &[T] ;
}
Expand description

Functionality for collecting and batching updates.

Required Methods

Allocates a new empty batcher.

Adds an unordered batch of elements to the batcher.

Returns all updates not greater or equal to an element of upper.

Returns the lower envelope of contained update times.

Implementors

Functionality for collecting and batching updates.

Functionality for collecting and batching updates.