Struct differential_dataflow::operators::iterate::Variable [] [src]

pub struct Variable<'a, G: Scope, D: Data> where
    G::Timestamp: Lattice
{ /* fields omitted */ }

A differential dataflow collection variable

The Variable struct allows differential dataflow programs requiring more sophisticated iterative patterns than singly recursive iteration. For example: in mutual recursion two collections evolve simultaneously.

Methods

impl<'a, G: Scope, D: Data> Variable<'a, G, D> where
    G::Timestamp: Lattice
[src]

Creates a new Variable and a Stream representing its output, from a supplied source stream.

Adds a new source of data to the Variable.

Methods from Deref<Target = Collection<Child<'a, G, u64>, D>>

Applies the supplied function to each element of the collection.

Applies the supplied function to each element of the collection, re-using allocated memory.

Applies the supplied function to each element of the collection.

Negates the counts of each element in the collection.

Retains only the elements of the collection satisifying the supplied predicate.

Adds the counts of elements from each collection.

Brings a collection into a nested scope.

Brings a collection into a nested scope, at varying times.

The initial function indicates the time at which each element of the collection should appear.

Applies a supplied function to each update. Diagnostic.

Applies a supplied function to each batch of updates. Diagnostic.

Attaches a timely dataflow probe to the output of a collection.

This probe is used to determine when the state of the collection has stabilized and can be read out.

The scope containing the underlying timely dataflow stream.

Returns the final value of a collection from a nested scope to its containing scope.

Trait Implementations

impl<'a, G: Scope, D: Data> Deref for Variable<'a, G, D> where
    G::Timestamp: Lattice
[src]

The resulting type after dereferencing

The method called to dereference a value