Skip to main content

LogicalPlanRef

Type Alias LogicalPlanRef 

Source
pub type LogicalPlanRef = PlanRef<Logical>;

Aliased Type§

pub struct LogicalPlanRef(Rc<dyn LogicalPlanNode>);

Tuple Fields§

§0: Rc<dyn LogicalPlanNode>

Implementations§

Trait Implementations§

Source§

impl ColPrunable for LogicalPlanRef

Source§

fn prune_col( &self, required_cols: &[usize], ctx: &mut ColumnPruningContext, ) -> LogicalPlanRef

Transform the plan node to only output the required columns ordered by index number. Read more
Source§

impl From<Agg<PlanRef<Logical>>> for LogicalPlanRef

Because From/Into are not transitive

Source§

fn from(core: Agg<PlanRef>) -> Self

Converts to this type from the input type.
Source§

impl From<CdcScan> for LogicalPlanRef

Source§

fn from(core: CdcScan) -> Self

Converts to this type from the input type.
Source§

impl From<SysScan> for LogicalPlanRef

Source§

fn from(core: SysScan) -> Self

Converts to this type from the input type.
Source§

impl From<TableScan> for LogicalPlanRef

Source§

fn from(core: TableScan) -> Self

Converts to this type from the input type.
Source§

impl LogicalCardinalityExt for LogicalPlanRef

Source§

fn max_one_row(&self) -> bool

Returns true if the plan node is guaranteed to yield at most one row.
Source§

fn row_count(&self) -> Option<usize>

Returns the number of rows the plan node is guaranteed to yield, if known exactly.
Source§

impl PlanCheckApplyEliminationExt for LogicalPlanRef

Source§

fn check_subquery_planned(&self) -> Result<(), RwError>

Checks that the planner has turned every subquery expression into an Apply. A subquery left in an expression, e.g., in a lambda body, can be neither hashed nor unnested.
Source§

fn check_apply_elimination(&self) -> Result<(), RwError>

Checks if all LogicalApply nodes in the plan have been eliminated, that is, subqueries are successfully unnested, and that no correlated column reference is left.
Source§

impl PredicatePushdown for LogicalPlanRef

Source§

fn predicate_pushdown( &self, predicate: Condition, ctx: &mut PredicatePushdownContext, ) -> LogicalPlanRef

Push predicate down for every logical plan node. Read more
Source§

impl Semantics<PlanRef<Logical>> for LogicalPlanRef