MCPcopy Create free account
hub / github.com/apache/datafusion / register_higher_order_function

Method register_higher_order_function

datafusion/expr/src/registry.rs:246–253  ·  view source on GitHub ↗
(
        &mut self,
        function: Arc<HigherOrderUDF>,
    )

Source from the content-addressed store, hash-verified

244 Ok(self.udfs.insert(udf.name().to_string(), udf))
245 }
246 fn register_higher_order_function(
247 &mut self,
248 function: Arc<HigherOrderUDF>,
249 ) -> Result<Option<Arc<HigherOrderUDF>>> {
250 Ok(self
251 .higher_order_functions
252 .insert(function.name().into(), function))
253 }
254 fn register_udaf(
255 &mut self,
256 udaf: Arc<AggregateUDF>,

Callers

nothing calls this directly

Calls 3

insertMethod · 0.45
intoMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected