MCPcopy Create free account
hub / github.com/apache/arrow / garrow_function_find

Function garrow_function_find

c_glib/arrow-glib/compute.cpp:784–794  ·  view source on GitHub ↗

* garrow_function_find: * @name: A function name to be found. * * Returns: (transfer full): * The found #GArrowFunction or %NULL on not found. * * Since: 1.0.0 */

Source from the content-addressed store, hash-verified

782 * Since: 1.0.0
783 */
784GArrowFunction *
785garrow_function_find(const gchar *name)
786{
787 auto arrow_function_registry = arrow::compute::GetFunctionRegistry();
788 auto arrow_function_result = arrow_function_registry->GetFunction(name);
789 if (!arrow_function_result.ok()) {
790 return NULL;
791 }
792 auto arrow_function = *arrow_function_result;
793 return garrow_function_new_raw(&arrow_function);
794}
795
796/**
797 * garrow_function_all:

Callers

nothing calls this directly

Calls 4

GetFunctionRegistryFunction · 0.85
garrow_function_new_rawFunction · 0.85
GetFunctionMethod · 0.45
okMethod · 0.45

Tested by

no test coverage detected