Struct timely::dataflow::operators::generic::builder_raw::OperatorBuilder
source · pub struct OperatorBuilder<G: Scope> { /* private fields */ }
Expand description
Builds operators with generic shape.
Implementations§
source§impl<G: Scope> OperatorBuilder<G>
impl<G: Scope> OperatorBuilder<G>
sourcepub fn new(name: String, scope: G) -> Self
pub fn new(name: String, scope: G) -> Self
Allocates a new generic operator builder from its containing scope.
sourcepub fn shape(&self) -> &OperatorShape
pub fn shape(&self) -> &OperatorShape
Return a reference to the operator’s shape
sourcepub fn set_notify(&mut self, notify: bool)
pub fn set_notify(&mut self, notify: bool)
Indicates whether the operator requires frontier information.
sourcepub fn new_input<C: Container, P>(
&mut self,
stream: &StreamCore<G, C>,
pact: P,
) -> P::Pullerwhere
P: ParallelizationContract<G::Timestamp, C>,
pub fn new_input<C: Container, P>(
&mut self,
stream: &StreamCore<G, C>,
pact: P,
) -> P::Pullerwhere
P: ParallelizationContract<G::Timestamp, C>,
Adds a new input to a generic operator builder, returning the Pull
implementor to use.
sourcepub fn new_input_connection<C: Container, P>(
&mut self,
stream: &StreamCore<G, C>,
pact: P,
connection: Vec<Antichain<<G::Timestamp as Timestamp>::Summary>>,
) -> P::Pullerwhere
P: ParallelizationContract<G::Timestamp, C>,
pub fn new_input_connection<C: Container, P>(
&mut self,
stream: &StreamCore<G, C>,
pact: P,
connection: Vec<Antichain<<G::Timestamp as Timestamp>::Summary>>,
) -> P::Pullerwhere
P: ParallelizationContract<G::Timestamp, C>,
Adds a new input to a generic operator builder, returning the Pull
implementor to use.
sourcepub fn new_output<C: Container>(
&mut self,
) -> (Tee<G::Timestamp, C>, StreamCore<G, C>)
pub fn new_output<C: Container>( &mut self, ) -> (Tee<G::Timestamp, C>, StreamCore<G, C>)
Adds a new output to a generic operator builder, returning the Push
implementor to use.
sourcepub fn new_output_connection<C: Container>(
&mut self,
connection: Vec<Antichain<<G::Timestamp as Timestamp>::Summary>>,
) -> (Tee<G::Timestamp, C>, StreamCore<G, C>)
pub fn new_output_connection<C: Container>( &mut self, connection: Vec<Antichain<<G::Timestamp as Timestamp>::Summary>>, ) -> (Tee<G::Timestamp, C>, StreamCore<G, C>)
Adds a new output to a generic operator builder, returning the Push
implementor to use.
sourcepub fn build<L>(self, logic: L)
pub fn build<L>(self, logic: L)
Creates an operator implementation from supplied logic constructor.
sourcepub fn operator_info(&self) -> OperatorInfo
pub fn operator_info(&self) -> OperatorInfo
Information describing the operator.
Trait Implementations§
Auto Trait Implementations§
impl<G> Freeze for OperatorBuilder<G>where
G: Freeze,
impl<G> RefUnwindSafe for OperatorBuilder<G>
impl<G> !Send for OperatorBuilder<G>
impl<G> !Sync for OperatorBuilder<G>
impl<G> Unpin for OperatorBuilder<G>
impl<G> UnwindSafe for OperatorBuilder<G>where
G: UnwindSafe,
<<G as ScopeParent>::Timestamp as Timestamp>::Summary: RefUnwindSafe + UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more