Trait FlowPlanner

Source
pub trait FlowPlanner {
    type Input;
    type Output;
    type Error;

    // Required methods
    fn create_execution_plan(
        &self,
        input: Self::Input,
    ) -> Result<Self::Output, Self::Error>;
    fn optimize_plan(
        &self,
        plan: Self::Output,
    ) -> Result<Self::Output, Self::Error>;
}
Expand description

流程编排器接口

Required Associated Types§

Required Methods§

Source

fn create_execution_plan( &self, input: Self::Input, ) -> Result<Self::Output, Self::Error>

创建执行计划

Source

fn optimize_plan(&self, plan: Self::Output) -> Result<Self::Output, Self::Error>

优化执行计划

Implementors§