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:1739–1744  ·  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

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