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

Function garrow_int32_array_get_value

c_glib/arrow-glib/basic-array.cpp:1871–1876  ·  view source on GitHub ↗

* garrow_int32_array_get_value: * @array: A #GArrowInt32Array. * @i: The index of the target value. * * Returns: The @i-th value. */

Source from the content-addressed store, hash-verified

1869 * Returns: The @i-th value.
1870 */
1871gint32
1872garrow_int32_array_get_value(GArrowInt32Array *array, gint64 i)
1873{
1874 auto arrow_array = garrow_array_get_raw(GARROW_ARRAY(array));
1875 return static_cast<arrow::Int32Array *>(arrow_array.get())->Value(i);
1876}
1877
1878/**
1879 * garrow_int32_array_get_values:

Callers 1

mainFunction · 0.85

Calls 3

garrow_array_get_rawFunction · 0.70
ValueMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected