* 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. * @
| 3007 | * Since: 0.7.0 |
| 3008 | */ |
| 3009 | GArrowTimestampArray * |
| 3010 | garrow_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: |
nothing calls this directly
no outgoing calls
no test coverage detected