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

Function garrow_time32_array_new

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

* garrow_time32_array_new: * @data_type: The #GArrowTime32DataType. * @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_null

Source from the content-addressed store, hash-verified

3084 * Since: 0.7.0
3085 */
3086GArrowTime32Array *
3087garrow_time32_array_new(GArrowTime32DataType *data_type,
3088 gint64 length,
3089 GArrowBuffer *data,
3090 GArrowBuffer *null_bitmap,
3091 gint64 n_nulls)
3092{
3093 auto array = garrow_primitive_array_new<arrow::Time32Type>(GARROW_DATA_TYPE(data_type),
3094 length,
3095 data,
3096 null_bitmap,
3097 n_nulls);
3098 return GARROW_TIME32_ARRAY(array);
3099}
3100
3101/**
3102 * garrow_time32_array_get_value:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected