* garrow_duration_array_new: * @data_type: The #GArrowDurationDataType. * @length: The number of elements. * @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 * @n_nulls is 0. * @n_
| 3491 | * Since: 23.0.0 |
| 3492 | */ |
| 3493 | GArrowDurationArray * |
| 3494 | garrow_duration_array_new(GArrowDurationDataType *data_type, |
| 3495 | gint64 length, |
| 3496 | GArrowBuffer *data, |
| 3497 | GArrowBuffer *null_bitmap, |
| 3498 | gint64 n_nulls) |
| 3499 | { |
| 3500 | auto array = |
| 3501 | garrow_primitive_array_new<arrow::DurationType>(GARROW_DATA_TYPE(data_type), |
| 3502 | length, |
| 3503 | data, |
| 3504 | null_bitmap, |
| 3505 | n_nulls); |
| 3506 | return GARROW_DURATION_ARRAY(array); |
| 3507 | } |
| 3508 | |
| 3509 | /** |
| 3510 | * garrow_duration_array_get_value: |
nothing calls this directly
no outgoing calls
no test coverage detected