Struct differential_dataflow::trace::layers::ordered::OrderedBuilder[][src]

pub struct OrderedBuilder<K: Ord, L> {
    pub keys: Vec<K>,
    pub offs: Vec<usize>,
    pub vals: L,
}

Assembles a layer of this

Fields

Keys

Offsets

The next layer down

Methods

impl<K: Ord + Clone, L: MergeBuilder> OrderedBuilder<K, L>
[src]

Performs one step of merging.

Trait Implementations

impl<K: Ord + Clone, L: Builder> Builder for OrderedBuilder<K, L>
[src]

The type of collection produced.

Requests a commitment to the offset of the current-most sub-collection. Read more

Finalizes the building process and returns the collection.

impl<K: Ord + Clone, L: MergeBuilder> MergeBuilder for OrderedBuilder<K, L>
[src]

Allocates an instance of the builder with sufficient capacity to contain the merged data.

Copies sub-collections of other into this collection.

Merges two sub-collections into one sub-collection.

impl<K: Ord + Clone, L: TupleBuilder> TupleBuilder for OrderedBuilder<K, L>
[src]

The type of item accepted for construction.

Allocates a new builder.

Allocates a new builder with capacity for at least cap tuples.

Inserts a new into the collection.

Auto Trait Implementations

impl<K, L> Send for OrderedBuilder<K, L> where
    K: Send,
    L: Send

impl<K, L> Sync for OrderedBuilder<K, L> where
    K: Sync,
    L: Sync