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

Function garrow_timestamp_array_new

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

* garrow_timestamp_array_new: * @data_type: The #GArrowTimestampDataType. * @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. * @

Source from the content-addressed store, hash-verified

3007 * Since: 0.7.0
3008 */
3009GArrowTimestampArray *
3010garrow_timestamp_array_new(GArrowTimestampDataType *data_type,
3011 gint64 length,
3012 GArrowBuffer *data,
3013 GArrowBuffer *null_bitmap,
3014 gint64 n_nulls)
3015{
3016 auto array =
3017 garrow_primitive_array_new<arrow::TimestampType>(GARROW_DATA_TYPE(data_type),
3018 length,
3019 data,
3020 null_bitmap,
3021 n_nulls);
3022 return GARROW_TIMESTAMP_ARRAY(array);
3023}
3024
3025/**
3026 * garrow_timestamp_array_get_value:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected