Trait datafusion::logical_plan::FunctionRegistry[][src]

pub trait FunctionRegistry {
    fn udfs(&self) -> HashSet<String>;
fn udf(&self, name: &str) -> Result<Arc<ScalarUDF>>;
fn udaf(&self, name: &str) -> Result<Arc<AggregateUDF>>; }
Expand description

A registry knows how to build logical expressions out of user-defined function’ names

Required methods

Set of all available udfs.

Returns a reference to the udf named name.

Returns a reference to the udaf named name.

Implementors