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

Function garrow_function_all

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

* garrow_function_all: * * Returns: (element-type GArrowFunction) (transfer full): * The all available functions. * * It should be freed with g_list_free_full() and g_object_unref() * when no longer needed. * * Since: 7.0.0 */

Source from the content-addressed store, hash-verified

805 * Since: 7.0.0
806 */
807GList *
808garrow_function_all(void)
809{
810 auto arrow_function_registry = arrow::compute::GetFunctionRegistry();
811 GList *functions = NULL;
812 for (const auto &arrow_name : arrow_function_registry->GetFunctionNames()) {
813 auto arrow_function_result = arrow_function_registry->GetFunction(arrow_name);
814 if (!arrow_function_result.ok()) {
815 continue;
816 }
817 auto arrow_function = *arrow_function_result;
818 functions = g_list_prepend(functions, garrow_function_new_raw(&arrow_function));
819 }
820 return g_list_reverse(functions);
821}
822
823/**
824 * garrow_function_execute:

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected