Trait StatsCatalog

Source
pub trait StatsCatalog {
    // Provided method
    fn stats_ref(
        &mut self,
        _access_path: &AccessPath,
        _stat: Stat,
    ) -> Option<ExprRef> { ... }
}

Provided Methods§

Source

fn stats_ref( &mut self, _access_path: &AccessPath, _stat: Stat, ) -> Option<ExprRef>

Given an id, field and stat return an expression that when evaluated will return that stat this would be a column reference or a literal value, if the value is known at planning time.

Implementors§