Struct timely::dataflow::scopes::child::Child [] [src]

pub struct Child<'a, G: ScopeParent, T: Timestamp> {
    pub subgraph: &'a RefCell<SubgraphBuilder<G::Timestamp, T>>,
    pub parent: G,
}

A Child wraps a Subgraph and a parent G: Scope. It manages the addition of Operates to a subgraph, and the connection of edges between them.

Fields

The subgraph under assembly.

A copy of the child's parent scope.

Methods

impl<'a, G: ScopeParent, T: Timestamp> Child<'a, G, T>
[src]

[src]

This worker's unique identifier.

Ranges from 0 to self.peers() - 1.

[src]

The total number of workers in the computation.

Trait Implementations

impl<'a, A: Allocate, T: Timestamp> Input<'a, A, T> for Child<'a, Root<A>, T>
[src]

[src]

Create a new Stream and Handle through which to supply input. Read more

[src]

Create a new stream from a supplied interactive handle. Read more

impl<'a, G: ScopeParent, T: Timestamp> LoopVariable<'a, G, T> for Child<'a, G, T>
[src]

[src]

Creates a Stream and a Handle to later bind the source of that Stream. Read more

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

The timestamp associated with data in this scope.

[src]

Allocates a new locally unique identifier.

impl<'a, G: ScopeParent, T: Timestamp> Scope for Child<'a, G, T>
[src]

[src]

A useful name describing the scope.

[src]

A sequence of scope identifiers describing the path from the Root to this scope.

[src]

Connects a source of data with a target of the data. This only links the two for the purposes of tracking progress, rather than effect any data movement itself. Read more

[src]

Adds a child Operate to the builder's scope using a supplied index. Read more

[src]

Allocates a new operator index, for use with add_operator_with_index.

[src]

Creates a Subgraph from a closure acting on a Child scope, and returning whatever the closure returns. Read more

[src]

Adds a child Operate to the builder's scope. Returns the new child's index.

impl<'a, G: ScopeParent, T: Timestamp> Allocate for Child<'a, G, T>
[src]

[src]

The index of the worker out of (0..self.peers()).

[src]

The number of workers.

[src]

Constructs several send endpoints and one receive endpoint.

impl<'a, G: ScopeParent, T: Timestamp> Clone for Child<'a, G, T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more