* garrow_binary_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 *
| 2394 | * Since: 0.4.0 |
| 2395 | */ |
| 2396 | GArrowBinaryArray * |
| 2397 | garrow_binary_array_new(gint64 length, |
| 2398 | GArrowBuffer *value_offsets, |
| 2399 | GArrowBuffer *value_data, |
| 2400 | GArrowBuffer *null_bitmap, |
| 2401 | gint64 n_nulls) |
| 2402 | { |
| 2403 | auto binary_array = garrow_base_binary_array_new<arrow::BinaryArray>(length, |
| 2404 | value_offsets, |
| 2405 | value_data, |
| 2406 | null_bitmap, |
| 2407 | n_nulls); |
| 2408 | return GARROW_BINARY_ARRAY(binary_array); |
| 2409 | } |
| 2410 | |
| 2411 | /** |
| 2412 | * garrow_binary_array_get_value: |
nothing calls this directly
no outgoing calls
no test coverage detected