Skip to main content

AggregateClassifier

Trait AggregateClassifier 

Source
pub trait AggregateClassifier {
    // Required method
    fn is_registered_aggregate(&self, name: &str) -> bool;
}
Expand description

Classification hook for engine-registered aggregate functions. Built-in aggregates are always recognised; the callback extends that set without making the planner depend on the engine.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<F> AggregateClassifier for F
where F: Fn(&str) -> bool,