Trait differential_dataflow::trace::layers::Builder [−][src]
pub trait Builder { type Trie: Trie; fn boundary(&mut self) -> usize; fn done(self) -> Self::Trie; }
A type used to assemble collections.
Associated Types
Required Methods
fn boundary(&mut self) -> usize
Requests a commitment to the offset of the current-most sub-collection.
This is most often used by parent collections to indicate that some set of values are now logically distinct from the next set of values, and that the builder should acknowledge this and report the limit (to store as an offset in the parent collection).
fn done(self) -> Self::Trie
Finalizes the building process and returns the collection.
Implementors
impl<K: Ord + Clone, L: Builder> Builder for OrderedBuilder<K, L> type Trie = OrderedLayer<K, L::Trie>;
impl<K: Ord + Clone, R: Diff + Clone> Builder for OrderedLeafBuilder<K, R> type Trie = OrderedLeaf<K, R>;
impl<K: HashOrdered + Clone + Default, L: Builder> Builder for HashedBuilder<K, L> type Trie = HashedLayer<K, L::Trie>;