risingwave_frontend::optimizer::plan_node::stream

Trait StreamPlanRef

source
pub trait StreamPlanRef: PhysicalPlanRef {
    // Required methods
    fn append_only(&self) -> bool;
    fn emit_on_window_close(&self) -> bool;
    fn watermark_columns(&self) -> &FixedBitSet;
    fn columns_monotonicity(&self) -> &MonotonicityMap;
}
Expand description

A subtrait of PhysicalPlanRef for stream plans.

Due to the lack of refactoring, all plan nodes currently implement this trait through super::PlanBase. One may still use this trait as a bound for accessing a stream plan, in contrast to GenericPlanRef or PhysicalPlanRef.

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'a, T: 'a + StreamPlanRef + ?Sized> StreamPlanRef for &'a T

Implementors§

source§

impl StreamPlanRef for PlanBaseRef<'_>

source§

impl StreamPlanRef for PlanBase<Stream>

source§

impl StreamPlanRef for PlanRef

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