* garrow_int8_array_get_value: * @array: A #GArrowInt8Array. * @i: The index of the target value. * * Returns: The @i-th value. */
| 1605 | * Returns: The @i-th value. |
| 1606 | */ |
| 1607 | gint8 |
| 1608 | garrow_int8_array_get_value(GArrowInt8Array *array, gint64 i) |
| 1609 | { |
| 1610 | auto arrow_array = garrow_array_get_raw(GARROW_ARRAY(array)); |
| 1611 | return static_cast<arrow::Int8Array *>(arrow_array.get())->Value(i); |
| 1612 | } |
| 1613 | |
| 1614 | /** |
| 1615 | * garrow_int8_array_get_values: |
nothing calls this directly
no test coverage detected