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

Function garrow_string_array_new

c_glib/arrow-glib/basic-array.cpp:2612–2625  ·  view source on GitHub ↗

* garrow_string_array_new: * @length: The number of elements. * @value_offsets: The value offsets of @data in Arrow format. * @value_data: The binary data in Arrow format of the array. * @null_bitmap: (nullable): The bitmap that shows null elements. The * N-th element is null when the N-th bit is 0, not null otherwise. * If the array has no null elements, the bitmap must be %NULL and *

Source from the content-addressed store, hash-verified

2610 * Since: 0.4.0
2611 */
2612GArrowStringArray *
2613garrow_string_array_new(gint64 length,
2614 GArrowBuffer *value_offsets,
2615 GArrowBuffer *value_data,
2616 GArrowBuffer *null_bitmap,
2617 gint64 n_nulls)
2618{
2619 auto string_array = garrow_base_binary_array_new<arrow::StringArray>(length,
2620 value_offsets,
2621 value_data,
2622 null_bitmap,
2623 n_nulls);
2624 return GARROW_STRING_ARRAY(string_array);
2625}
2626
2627/**
2628 * garrow_string_array_get_string:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected