Struct timely::progress::nested::subgraph::SubgraphBuilder [] [src]

pub struct SubgraphBuilder<TOuter: Timestamp, TInner: Timestamp> {
    pub name: String,
    pub path: Vec<usize>,
    // some fields omitted
}

A builder structure for initializing Subgraphs.

This collects all the information necessary to get a Subgraph up and running, and is important largely through its build method which actually creates a Subgraph.

Fields

The name of this subgraph.

A sequence of integers uniquely identifying the subgraph.

Methods

impl<TOuter: Timestamp, TInner: Timestamp> SubgraphBuilder<TOuter, TInner>
[src]

[src]

Allocates a new input to the subgraph and returns the target to that input in the outer graph.

[src]

Allocates a new output from the subgraph and returns the source of that output in the outer graph.

[src]

Introduces a dependence from the source to the target.

This method does not effect data movement, but rather reveals to the progress tracking infrastructure that messages produced by source should be expected to be consumed at target.

[src]

Creates a new Subgraph from a channel allocator and "descriptive" indices.

[src]

Allocates a new child identifier, for later use.

[src]

Adds a new child to the subgraph.

[src]

Now that initialization is complete, actually build a subgraph.