pub trait PlanTreeNodeUnary<C: ConventionMarker> {
    // Required methods
    fn input(&self) -> PlanRef<C>;
    fn clone_with_input(&self, input: PlanRef<C>) -> Self;
    // Provided method
    fn rewrite_with_input(
        &self,
        _input: PlanRef<C>,
        _input_col_change: ColIndexMapping,
    ) -> (Self, ColIndexMapping)
       where Self: Sized { ... }
}Expand description
See PlanTreeNode
Required Methods§
Provided Methods§
Sourcefn rewrite_with_input(
    &self,
    _input: PlanRef<C>,
    _input_col_change: ColIndexMapping,
) -> (Self, ColIndexMapping)where
    Self: Sized,
 
fn rewrite_with_input(
    &self,
    _input: PlanRef<C>,
    _input_col_change: ColIndexMapping,
) -> (Self, ColIndexMapping)where
    Self: Sized,
Rewrites the plan node according to the schema change of its input node during rewriting.
This function can be used to implement prune_col or
logical_rewrite_for_stream
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.