* garrow_duration_array_get_value: * @array: A #GArrowDurationArray. * @i: The index of the target value. * * Returns: The @i-th value. * * Since: 23.0.0 */
| 3516 | * Since: 23.0.0 |
| 3517 | */ |
| 3518 | gint64 |
| 3519 | garrow_duration_array_get_value(GArrowDurationArray *array, gint64 i) |
| 3520 | { |
| 3521 | auto arrow_array = garrow_array_get_raw(GARROW_ARRAY(array)); |
| 3522 | return static_cast<arrow::DurationArray *>(arrow_array.get())->Value(i); |
| 3523 | } |
| 3524 | |
| 3525 | /** |
| 3526 | * garrow_duration_array_get_values: |
nothing calls this directly
no test coverage detected