* garrow_int32_array_get_value: * @array: A #GArrowInt32Array. * @i: The index of the target value. * * Returns: The @i-th value. */
| 1870 | * Returns: The @i-th value. |
| 1871 | */ |
| 1872 | gint32 |
| 1873 | garrow_int32_array_get_value(GArrowInt32Array *array, gint64 i) |
| 1874 | { |
| 1875 | auto arrow_array = garrow_array_get_raw(GARROW_ARRAY(array)); |
| 1876 | return static_cast<arrow::Int32Array *>(arrow_array.get())->Value(i); |
| 1877 | } |
| 1878 | |
| 1879 | /** |
| 1880 | * garrow_int32_array_get_values: |
no test coverage detected