Struct differential_dataflow::trace::implementations::spine_fueled::Spine[][src]

pub struct Spine<K, V, T: Lattice + Ord, R: Diff, B: Batch<K, V, T, R>> { /* fields omitted */ }

An append-only collection of update tuples.

A spine maintains a small number of immutable collections of update tuples, merging the collections when two have similar sizes. In this way, it allows the addition of more tuples, which may then be merged with other immutable collections.

Methods

impl<K, V, T, R, B> Spine<K, V, T, R, B> where
    K: Ord + Clone,
    V: Ord + Clone,
    T: Lattice + Ord + Clone + Debug,
    R: Diff,
    B: Batch<K, V, T, R>, 
[src]

Allocates a fueled Spine with a specified effort multiplier.

This trace will merge batches progressively, with each inserted batch applying a multiple of the batch's length in effort to each merge. The effort parameter is that multiplier. This value should be at least one for the merging to happen; a value of zero is not helpful.

Trait Implementations

impl<K, V, T, R, B> TraceReader<K, V, T, R> for Spine<K, V, T, R, B> where
    K: Ord + Clone,
    V: Ord + Clone,
    T: Lattice + Ord + Clone + Debug,
    R: Diff,
    B: Batch<K, V, T, R> + Clone + 'static, 
[src]

The type of an immutable collection of updates.

The type used to enumerate the collections contents.

Acquires a cursor to the restriction of the collection's contents to updates at times not greater or equal to an element of upper. Read more

Advances the frontier of times the collection must be correctly accumulable through. Read more

Reports the frontier from which all time comparisions should be accurate. Read more

Advances the frontier that may be used in cursor_through. Read more

Reports the frontier from which the collection may be subsetted. Read more

Maps some logic across the batches the collection manages. Read more

Provides a cursor over updates contained in the trace.

impl<K, V, T, R, B> Trace<K, V, T, R> for Spine<K, V, T, R, B> where
    K: Ord + Clone,
    V: Ord + Clone,
    T: Lattice + Ord + Clone + Debug,
    R: Diff,
    B: Batch<K, V, T, R> + Clone + 'static, 
[src]

Allocates a new empty trace.

Introduces a batch of updates to the trace. Read more

Introduces an empty batch concluding the trace. Read more

Auto Trait Implementations

impl<K, V, T, R, B> !Send for Spine<K, V, T, R, B>

impl<K, V, T, R, B> !Sync for Spine<K, V, T, R, B>