risingwave_frontend::optimizer::plan_node

Trait ConventionMarker

source
pub trait ConventionMarker: 'static + Sized {
    type Extra: 'static + Eq + Hash + Clone + Debug;

    // Required method
    fn value() -> Convention;
}
Expand description

A marker trait for different conventions, used for enforcing type safety.

Implementors are Logical, Batch, and Stream.

Required Associated Types§

source

type Extra: 'static + Eq + Hash + Clone + Debug

The extra fields in the PlanBase of this convention.

Required Methods§

source

fn value() -> Convention

Get the Convention enum value.

Object Safety§

This trait is not object safe.

Implementors§