pub trait PlanTreeNodeUnary {
// Required methods
fn input(&self) -> PlanRef;
fn clone_with_input(&self, input: PlanRef) -> Self;
// Provided method
fn rewrite_with_input(
&self,
_input: PlanRef,
_input_col_change: ColIndexMapping,
) -> (Self, ColIndexMapping)
where Self: Sized { ... }
}
Expand description
See PlanTreeNode
Required Methods§
Provided Methods§
sourcefn rewrite_with_input(
&self,
_input: PlanRef,
_input_col_change: ColIndexMapping,
) -> (Self, ColIndexMapping)where
Self: Sized,
fn rewrite_with_input(
&self,
_input: PlanRef,
_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
Object Safety§
This trait is not object safe.