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