* 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 *
| 2610 | * Since: 0.4.0 |
| 2611 | */ |
| 2612 | GArrowStringArray * |
| 2613 | garrow_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: |
nothing calls this directly
no outgoing calls
no test coverage detected