Struct timely::dataflow::stream::Stream [] [src]

pub struct Stream<S: Scope, D> { /* fields omitted */ }

Abstraction of a stream of D: Data records timestamped with S::Timestamp.

Internally Stream maintains a list of data recipients who should be presented with data produced by the source of the stream.

Methods

impl<S: Scope, D> Stream<S, D>
[src]

Connects the stream to a destination.

The destination is described both by a Target, for progress tracking information, and a P: Push where the records should actually be sent. The identifier is unique to the edge and is used only for logging purposes.

Allocates a Stream from a supplied Source name and rendezvous point.

The name of the stream's source operator.

The scope immediately containing the stream.

Trait Implementations

impl<T: Timestamp, G: Scope, D: Data> Enter<G, T, D> for Stream<G, D>
[src]

Moves the Stream argument into a child of its current Scope. Read more

impl<'a, G: Scope, D: Data, T: Timestamp> Leave<G, D> for Stream<Child<'a, G, T>, D>
[src]

Moves a Stream to the parent of its current Scope. Read more

impl<G: Scope, D1: Data> Unary<G, D1> for Stream<G, D1>
[src]

Creates a new dataflow operator that partitions its input stream by a parallelization strategy pact, and repeatedly invokes logic which can read from the input stream, write to the output stream, and request and receive notifications. The method also requires a vector of the initial notifications the operator requires (commonly none). Read more

Creates a new dataflow operator that partitions its input stream by a parallelization strategy pact, and repeatedly invokes logic which can read from the input stream and write to the output stream. Read more

impl<'a, G: ScopeParent, T: Timestamp, D: Data> ConnectLoop<G, T, D> for Stream<Child<'a, G, T>, D>
[src]

Connect a Stream to be the input of a loop variable. Read more

impl<G: Scope, D: Data> Concat<G, D> for Stream<G, D>
[src]

Merge the contents of two streams. Read more

impl<G: Scope, D: Data, D2: Data, F: Fn(D) -> (u64, D2) + 'static> Partition<G, D, D2, F> for Stream<G, D>
[src]

Produces parts output streams, containing records produced and assigned by route. Read more

impl<S: Scope, D: Data> Map<S, D> for Stream<S, D>
[src]

Consumes each element of the stream and yields a new element. Read more

Updates each element of the stream and yields the element, re-using memory where possible. Read more

Consumes each element of the stream and yields some number of new elements. Read more

impl<G: Scope, D: Data> Inspect<G, D> for Stream<G, D>
[src]

Runs a supplied closure on each observed data element. Read more

Runs a supplied closure on each observed data batch (time and data slice). Read more

impl<G: Scope, D: Data> Filter<D> for Stream<G, D>
[src]

Returns a new instance of self containing only records satisfying predicate. Read more

impl<G: Scope, D1: Data> Binary<G, D1> for Stream<G, D1>
[src]

Creates a new dataflow operator that partitions each of its input stream by a parallelization strategy pact, and repeatedly invokes logic which can read from the input streams and write to the output stream. Read more

Creates a new dataflow operator that partitions its input stream by a parallelization strategy pact, and repeatedly invokes logic which can read from the input streams, write to the output stream, and request and receive notifications. The method also requires a vector of the initial notifications the operator requires (commonly none). Read more

impl<G: Scope, D: Data> Delay<G, D> for Stream<G, D> where
    G::Timestamp: Hash
[src]

Advances the timestamp of records using a supplied function. Read more

Advances the timestamp of batches of records using a supplied function. Read more

impl<T: Timestamp, G: Scope<Timestamp = T>, D: ExchangeData> Exchange<T, D> for Stream<G, D>
[src]

Exchange records so that all records with the same route are at the same worker. Read more

Exchange records by time so that all records whose time and data evaluate to the same route are at the same worker. Read more

impl<G: Scope, D: ExchangeData> Broadcast<D> for Stream<G, D>
[src]

Broadcast records to all workers. Read more

impl<G: Scope, D: Data> Probe<G, D> for Stream<G, D>
[src]

Constructs a progress probe which indicates which timestamps have elapsed at the operator. Read more

Inserts a progress probe in a stream. Read more

impl<S: Scope, D: Data> Capture<S::Timestamp, D> for Stream<S, D>
[src]

Captures a stream of timestamped data for later replay. Read more

Captures a stream using Rust's MPSC channels.

impl<G: Scope, D1: Data> Operator<G, D1> for Stream<G, D1>
[src]

Creates a new dataflow operator that partitions its input stream by a parallelization strategy pact, and repeteadly invokes logic, the function returned by the function passed as constructor. logic can read from the input stream, write to the output stream, and inspect the frontier at the input. Read more

Creates a new dataflow operator that partitions its input stream by a parallelization strategy pact, and repeteadly invokes logic, the function returned by the function passed as constructor. logic can read from the input stream, and write to the output stream. Read more

Creates a new dataflow operator that partitions its input streams by a parallelization strategy pact, and repeteadly invokes logic, the function returned by the function passed as constructor. logic can read from the input streams, write to the output stream, and inspect the frontier at the inputs. Read more

Creates a new dataflow operator that partitions its input streams by a parallelization strategy pact, and repeteadly invokes logic, the function returned by the function passed as constructor. logic can read from the input streams, write to the output stream, and inspect the frontier at the inputs. Read more

impl<S: Scope, K: ExchangeData + Hash + Eq, V: ExchangeData> StateMachine<S, K, V> for Stream<S, (K, V)>
[src]

Tracks a state for each presented key, using user-supplied state transition logic. Read more

impl<S: Scope, K: ExchangeData + Hash + Eq, V: ExchangeData> Aggregate<S, K, V> for Stream<S, (K, V)>
[src]

Aggregates data of the form (key, val), using user-supplied logic. Read more

impl<S: Scope, D: Data> Reclock<S, D> for Stream<S, D>
[src]

Delays records until an input is observed on the clock input. Read more

impl<G: Scope, D: Data> Accumulate<G, D> for Stream<G, D> where
    G::Timestamp: Hash
[src]

Accumulates records within a timestamp. Read more

Counts the number of records observed at each time. Read more

impl<S: Clone + Scope, D: Clone> Clone for Stream<S, D> where
    S::Timestamp: Clone
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more