Struct differential_dataflow::trace::implementations::ord::OrdValBuilder [−][src]
A builder for creating layers from unsorted update tuples.
Trait Implementations
impl<K, V, T, R> Builder<K, V, T, R, OrdValBatch<K, V, T, R>> for OrdValBuilder<K, V, T, R> where
K: Ord + Clone + 'static,
V: Ord + Clone + 'static,
T: Lattice + Ord + Clone + Debug + 'static,
R: Diff, [src]
impl<K, V, T, R> Builder<K, V, T, R, OrdValBatch<K, V, T, R>> for OrdValBuilder<K, V, T, R> where
K: Ord + Clone + 'static,
V: Ord + Clone + 'static,
T: Lattice + Ord + Clone + Debug + 'static,
R: Diff, fn new() -> Self[src]
fn new() -> SelfAllocates an empty builder.
fn with_capacity(cap: usize) -> Self[src]
fn with_capacity(cap: usize) -> SelfAllocates an empty builder with some capacity.
fn push(&mut self, (key, val, time, diff): (K, V, T, R))[src]
fn push(&mut self, (key, val, time, diff): (K, V, T, R))Adds an element to the batch.
fn done(self, lower: &[T], upper: &[T], since: &[T]) -> OrdValBatch<K, V, T, R>[src]
fn done(self, lower: &[T], upper: &[T], since: &[T]) -> OrdValBatch<K, V, T, R>Completes building and returns the batch.
fn extend<I: Iterator<Item = (K, V, T, R)>>(&mut self, iter: I)[src]
fn extend<I: Iterator<Item = (K, V, T, R)>>(&mut self, iter: I)Adds an ordered sequence of elements to the batch.