MCPcopy Create free account
hub / github.com/apache/arrow / garrow_chunked_array_get_chunk

Function garrow_chunked_array_get_chunk

c_glib/arrow-glib/chunked-array.cpp:320–326  ·  view source on GitHub ↗

* 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. */

Source from the content-addressed store, hash-verified

318 * Returns: (transfer full): The i-th chunk of the chunked array.
319 */
320GArrowArray *
321garrow_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:

Callers

nothing calls this directly

Calls 2

garrow_array_new_rawFunction · 0.85

Tested by

no test coverage detected