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

Function ggandiva_native_function_to_string

c_glib/gandiva-glib/native-function.cpp:141–154  ·  view source on GitHub ↗

* ggandiva_native_function_to_string: * @native_function: A #GGandivaNativeFunction. * * Returns: (transfer full): * The string representation of the signatures of the native function. * It should be freed with g_free() when no longer needed. * * Since: 0.14.0 */

Source from the content-addressed store, hash-verified

139 * Since: 0.14.0
140 */
141gchar *
142ggandiva_native_function_to_string(GGandivaNativeFunction *native_function)
143{
144 auto gandiva_native_function = ggandiva_native_function_get_raw(native_function);
145 auto string = g_string_new(NULL);
146 for (auto &gandiva_signature : gandiva_native_function->signatures()) {
147 if (string->len > 0) {
148 g_string_append(string, ", ");
149 }
150 const auto &signature_string = gandiva_signature.ToString();
151 g_string_append_len(string, signature_string.data(), signature_string.length());
152 }
153 return g_string_free(string, FALSE);
154}
155
156/**
157 * ggandiva_native_function_get_result_nullable_type:

Callers

nothing calls this directly

Calls 4

ToStringMethod · 0.45
dataMethod · 0.45
lengthMethod · 0.45

Tested by

no test coverage detected