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

Function garrow_int8_array_get_value

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

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

Source from the content-addressed store, hash-verified

1605 * Returns: The @i-th value.
1606 */
1607gint8
1608garrow_int8_array_get_value(GArrowInt8Array *array, gint64 i)
1609{
1610 auto arrow_array = garrow_array_get_raw(GARROW_ARRAY(array));
1611 return static_cast<arrow::Int8Array *>(arrow_array.get())->Value(i);
1612}
1613
1614/**
1615 * garrow_int8_array_get_values:

Callers

nothing calls this directly

Calls 3

garrow_array_get_rawFunction · 0.70
ValueMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected