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

Function garrow_time64_array_new

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

* garrow_time64_array_new: * @data_type: The #GArrowTime64DataType. * @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

3159 * Since: 0.7.0
3160 */
3161GArrowTime64Array *
3162garrow_time64_array_new(GArrowTime64DataType *data_type,
3163 gint64 length,
3164 GArrowBuffer *data,
3165 GArrowBuffer *null_bitmap,
3166 gint64 n_nulls)
3167{
3168 auto array = garrow_primitive_array_new<arrow::Time64Type>(GARROW_DATA_TYPE(data_type),
3169 length,
3170 data,
3171 null_bitmap,
3172 n_nulls);
3173 return GARROW_TIME64_ARRAY(array);
3174}
3175
3176/**
3177 * garrow_time64_array_get_value:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected