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

Function garrow_int16_array_get_value

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

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

Source from the content-addressed store, hash-verified

1738 * Returns: The @i-th value.
1739 */
1740gint16
1741garrow_int16_array_get_value(GArrowInt16Array *array, gint64 i)
1742{
1743 auto arrow_array = garrow_array_get_raw(GARROW_ARRAY(array));
1744 return static_cast<arrow::Int16Array *>(arrow_array.get())->Value(i);
1745}
1746
1747/**
1748 * garrow_int16_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