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

Method register_udf

datafusion/expr/src/registry.rs:243–245  ·  view source on GitHub ↗
(&mut self, udf: Arc<ScalarUDF>)

Source from the content-addressed store, hash-verified

241 }
242
243 fn register_udf(&mut self, udf: Arc<ScalarUDF>) -> Result<Option<Arc<ScalarUDF>>> {
244 Ok(self.udfs.insert(udf.name().to_string(), udf))
245 }
246 fn register_higher_order_function(
247 &mut self,
248 function: Arc<HigherOrderUDF>,

Callers

nothing calls this directly

Calls 3

insertMethod · 0.45
to_stringMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected