Struct timely::progress::subgraph::Subgraph

source ·
pub struct Subgraph<TOuter, TInner>
where TOuter: Timestamp, TInner: Timestamp + Refines<TOuter>,
{ pub path: Rc<[usize]>, /* private fields */ }
Expand description

A dataflow subgraph.

The subgraph type contains the infrastructure required to describe the topology of and track progress within a dataflow subgraph.

Fields§

§path: Rc<[usize]>

Path of identifiers from the root.

Trait Implementations§

source§

impl<TOuter, TInner> Operate<TOuter> for Subgraph<TOuter, TInner>
where TOuter: Timestamp, TInner: Timestamp + Refines<TOuter>,

source§

fn local(&self) -> bool

Indicates if the operator is strictly local to this worker. Read more
source§

fn inputs(&self) -> usize

The number of inputs.
source§

fn outputs(&self) -> usize

The number of outputs.
source§

fn get_internal_summary( &mut self, ) -> (Vec<Vec<Antichain<TOuter::Summary>>>, Rc<RefCell<SharedProgress<TOuter>>>)

Fetches summary information about internal structure of the operator. Read more
source§

fn set_external_summary(&mut self)

Signals that external frontiers have been set. Read more
source§

fn notify_me(&self) -> bool

Indicates of whether the operator requires push_external_progress information or not.
source§

impl<TOuter, TInner> Schedule for Subgraph<TOuter, TInner>
where TOuter: Timestamp, TInner: Timestamp + Refines<TOuter>,

source§

fn name(&self) -> &str

A descriptive name for the operator
source§

fn path(&self) -> &[usize]

An address identifying the operator.
source§

fn schedule(&mut self) -> bool

Schedules the operator, receives “cannot terminate” boolean. Read more

Auto Trait Implementations§

§

impl<TOuter, TInner> Freeze for Subgraph<TOuter, TInner>
where TInner: Freeze,

§

impl<TOuter, TInner> !RefUnwindSafe for Subgraph<TOuter, TInner>

§

impl<TOuter, TInner> !Send for Subgraph<TOuter, TInner>

§

impl<TOuter, TInner> !Sync for Subgraph<TOuter, TInner>

§

impl<TOuter, TInner> Unpin for Subgraph<TOuter, TInner>
where TInner: Unpin, TOuter: Unpin, <TInner as Timestamp>::Summary: Unpin,

§

impl<TOuter, TInner> !UnwindSafe for Subgraph<TOuter, TInner>

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.