pub trait PlanTreeNodeBinary {
// Required methods
fn left(&self) -> PlanRef;
fn right(&self) -> PlanRef;
fn clone_with_left_right(&self, left: PlanRef, right: PlanRef) -> Self;
// Provided method
fn rewrite_with_left_right(
&self,
_left: PlanRef,
_left_col_change: ColIndexMapping,
_right: PlanRef,
_right_col_change: ColIndexMapping,
) -> (Self, ColIndexMapping)
where Self: Sized { ... }
}
Expand description
See PlanTreeNode
Required Methods§
fn left(&self) -> PlanRef
fn right(&self) -> PlanRef
fn clone_with_left_right(&self, left: PlanRef, right: PlanRef) -> Self
Provided Methods§
sourcefn rewrite_with_left_right(
&self,
_left: PlanRef,
_left_col_change: ColIndexMapping,
_right: PlanRef,
_right_col_change: ColIndexMapping,
) -> (Self, ColIndexMapping)where
Self: Sized,
fn rewrite_with_left_right(
&self,
_left: PlanRef,
_left_col_change: ColIndexMapping,
_right: PlanRef,
_right_col_change: ColIndexMapping,
) -> (Self, ColIndexMapping)where
Self: Sized,
Rewrites the plan node according to the schema change of its input nodes during rewriting.
This function can be used to implement prune_col
or
logical_rewrite_for_stream
Object Safety§
This trait is not object safe.