Trait mz_compute_client::plan::transform::BottomUpTransform
source · pub trait BottomUpTransform<T = Timestamp> {
type Info: BoundedLattice + Clone;
type Interpreter<'a>: Interpreter<T, Domain = Self::Info>;
// Required methods
fn name(&self) -> &'static str;
fn interpreter(config: &TransformConfig) -> Self::Interpreter<'_>;
fn action(
plan: &mut Plan<T>,
plan_info: &Self::Info,
input_infos: &[Self::Info]
);
}
Required Associated Types§
sourcetype Info: BoundedLattice + Clone
type Info: BoundedLattice + Clone
A type representing analysis information to be associated with each sub-term and exposed to the transformation action callback.
sourcetype Interpreter<'a>: Interpreter<T, Domain = Self::Info>
type Interpreter<'a>: Interpreter<T, Domain = Self::Info>
A type responsible for synthesizing the Self::Info associated with each sub-term.
Required Methods§
sourcefn interpreter(config: &TransformConfig) -> Self::Interpreter<'_>
fn interpreter(config: &TransformConfig) -> Self::Interpreter<'_>
Derive a Self::Interpreter instance from the TransformConfig.