* garrow_chunked_array_slice: * @chunked_array: A #GArrowChunkedArray. * @offset: The offset of sub #GArrowChunkedArray. * @length: The length of sub #GArrowChunkedArray. * * Returns: (transfer full): The sub #GArrowChunkedArray. It covers only from * `offset` to `offset + length` range. The sub #GArrowChunkedArray shares * values with the base #GArrowChunkedArray. */
| 357 | * values with the base #GArrowChunkedArray. |
| 358 | */ |
| 359 | GArrowChunkedArray * |
| 360 | garrow_chunked_array_slice(GArrowChunkedArray *chunked_array, |
| 361 | guint64 offset, |
| 362 | guint64 length) |
| 363 | { |
| 364 | const auto arrow_chunked_array = garrow_chunked_array_get_raw(chunked_array); |
| 365 | auto arrow_sub_chunked_array = arrow_chunked_array->Slice(offset, length); |
| 366 | return garrow_chunked_array_new_raw(&arrow_sub_chunked_array); |
| 367 | } |
| 368 | |
| 369 | /** |
| 370 | * garrow_chunked_array_to_string: |
nothing calls this directly
no test coverage detected