* garrow_chunked_array_import: * @c_abi_array_stream: (not nullable): A `struct ArrowArrayStream *`. * @error: (nullable): Return location for a #GError or %NULL. * * Returns: (transfer full) (nullable): An imported chunked array on success, * %NULL on error. * * Since: 21.0.0 */
| 419 | * Since: 21.0.0 |
| 420 | */ |
| 421 | GArrowChunkedArray * |
| 422 | garrow_chunked_array_import(gpointer c_abi_array_stream, GError **error) |
| 423 | { |
| 424 | auto arrow_chunked_array_result = |
| 425 | arrow::ImportChunkedArray(static_cast<struct ArrowArrayStream *>(c_abi_array_stream)); |
| 426 | if (garrow::check(error, arrow_chunked_array_result, "[chunked-array][import]")) { |
| 427 | return garrow_chunked_array_new_raw(&(*arrow_chunked_array_result)); |
| 428 | } else { |
| 429 | return NULL; |
| 430 | } |
| 431 | } |
| 432 | |
| 433 | /** |
| 434 | * garrow_chunked_array_export: |
nothing calls this directly
no test coverage detected