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

Function garrow_int16_array_new

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

* garrow_int16_array_new: * @length: The number of elements. * @data: The binary data in Arrow format of the array. * @null_bitmap: (nullable): The bitmap that shows null elements. The * N-th element is null when the N-th bit is 0, not null otherwise. * If the array has no null elements, the bitmap must be %NULL and * @n_nulls is 0. * @n_nulls: The number of null elements. If -1 is sp

Source from the content-addressed store, hash-verified

1720 * Since: 0.4.0
1721 */
1722GArrowInt16Array *
1723garrow_int16_array_new(gint64 length,
1724 GArrowBuffer *data,
1725 GArrowBuffer *null_bitmap,
1726 gint64 n_nulls)
1727{
1728 auto array =
1729 garrow_primitive_array_new<arrow::Int16Type>(length, data, null_bitmap, n_nulls);
1730 return GARROW_INT16_ARRAY(array);
1731}
1732
1733/**
1734 * garrow_int16_array_get_value:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected