risingwave_frontend::optimizer::plan_node::generic

Trait GenericPlanRef

source
pub trait GenericPlanRef: Eq + Hash {
    // Required methods
    fn id(&self) -> PlanNodeId;
    fn schema(&self) -> &Schema;
    fn stream_key(&self) -> Option<&[usize]>;
    fn functional_dependency(&self) -> &FunctionalDependencySet;
    fn ctx(&self) -> OptimizerContextRef;
}

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'a, T: 'a + GenericPlanRef + ?Sized> GenericPlanRef for &'a T
where &'a T: Eq + Hash,

Implementors§

source§

impl GenericPlanRef for PlanBaseRef<'_>

source§

impl GenericPlanRef for PlanRef

Allow access to all fields defined in GenericPlanRef for the type-erased plan node.

source§

impl<C: ConventionMarker> GenericPlanRef for PlanBase<C>