Input

Trait Input 

Source
pub trait Input: Stream + Send {
    type InputId;

    // Required method
    fn id(&self) -> Self::InputId;

    // Provided method
    fn boxed_input(self) -> BoxedInput<Self::InputId, Self::Item>
       where Self: Sized + 'static { ... }
}
Expand description

Input is a more abstract upstream input type, used for DynamicReceivers type handling of multiple upstream inputs

Required Associated Types§

Required Methods§

Source

fn id(&self) -> Self::InputId

The upstream input id.

Provided Methods§

Source

fn boxed_input(self) -> BoxedInput<Self::InputId, Self::Item>
where Self: Sized + 'static,

Implementors§

Source§

impl Input for UnionExecutorInput

Source§

impl Input for SinkHandlerInput

Source§

type InputId = TypedId<risingwave_pb::::id::FragmentId::{constant#0}, u32>

Source§

impl Input for LocalInput

Source§

type InputId = TypedId<risingwave_pb::::id::ActorId::{constant#0}, u32>

Source§

impl Input for RemoteInput

Source§

type InputId = TypedId<risingwave_pb::::id::ActorId::{constant#0}, u32>