risingwave_frontend::optimizer::plan_visitor

Trait DefaultBehavior

source
pub trait DefaultBehavior<R> {
    // Required method
    fn apply(&self, results: impl IntoIterator<Item = R>) -> R;
}
Expand description

The behavior for the default implementations of visit_xxx.

Required Methods§

source

fn apply(&self, results: impl IntoIterator<Item = R>) -> R

Apply this behavior to the plan node with the given results.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<F, R> DefaultBehavior<R> for Merge<F>
where F: Fn(R, R) -> R, R: Default,

source§

impl<R> DefaultBehavior<R> for DefaultValue
where R: Default,