* garrow_chunked_array_get_chunk: * @chunked_array: A #GArrowChunkedArray. * @i: The index of the target chunk. * * Returns: (transfer full): The i-th chunk of the chunked array. */
| 318 | * Returns: (transfer full): The i-th chunk of the chunked array. |
| 319 | */ |
| 320 | GArrowArray * |
| 321 | garrow_chunked_array_get_chunk(GArrowChunkedArray *chunked_array, guint i) |
| 322 | { |
| 323 | const auto arrow_chunked_array = garrow_chunked_array_get_raw(chunked_array); |
| 324 | auto arrow_chunk = arrow_chunked_array->chunk(i); |
| 325 | return garrow_array_new_raw(&arrow_chunk); |
| 326 | } |
| 327 | |
| 328 | /** |
| 329 | * garrow_chunked_array_get_chunks: |
nothing calls this directly
no test coverage detected