Struct differential_dataflow::collection::count::Count [] [src]

pub struct Count<K, T, L> { /* fields omitted */ }

A trace specialized for the value type ().

This trace does not need to represent a variable number of values associated with each key, and instead needs only one weight per timestamp.

Methods

impl<K, L, T> Count<K, T, L> where
    K: Data + Ord + 'static,
    L: Lookup<K, Offset> + 'static,
    T: Lattice + 'static, 
[src]

Recovers the count for the () value for a key at a time.

impl<K: Eq, L: Lookup<K, Offset>, T> Count<K, T, L>
[src]

Allocates a new Count from a supplied lookup.

Trait Implementations

impl<K, L, T> Trace for Count<K, T, L> where
    K: Data + Ord + 'static,
    L: Lookup<K, Offset> + 'static,
    T: Lattice + 'static, 
[src]

The data-parallel key.

Timestamp for changes to the collection.

Values associated with each key.

Installs a supplied set of keys and values as the differences for time.

Iterates over times and differences for a specified key.

Iterates over differences for a specified key and time.

Accumulates differences for key at times less than or equal to time. Read more

Populates stash with times for key, closes under least upper bound.

impl<'a, K, L, T> TraceRef<'a, K, T, ()> for &'a Count<K, T, L> where
    K: Ord + 'a,
    L: Lookup<K, Offset> + 'a,
    T: Lattice + 'a, 
[src]

Iterator over references to values.

Iterator over times and VIterators.

Iterates over differences associated with the key.