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

Function garrow_duration_array_builder_new

c_glib/arrow-glib/array-builder.cpp:4869–4876  ·  view source on GitHub ↗

* garrow_duration_array_builder_new: * @data_type: A #GArrowDurationDataType. * * Returns: A newly created #GArrowDurationArrayBuilder. * * Since: 23.0.0 */

Source from the content-addressed store, hash-verified

4867 * Since: 23.0.0
4868 */
4869GArrowDurationArrayBuilder *
4870garrow_duration_array_builder_new(GArrowDurationDataType *data_type)
4871{
4872 auto arrow_data_type = garrow_data_type_get_raw(GARROW_DATA_TYPE(data_type));
4873 auto builder =
4874 garrow_array_builder_new(arrow_data_type, NULL, "[duration-array-builder][new]");
4875 return GARROW_DURATION_ARRAY_BUILDER(builder);
4876}
4877
4878/**
4879 * garrow_duration_array_builder_append_value:

Callers

nothing calls this directly

Calls 2

garrow_data_type_get_rawFunction · 0.85
garrow_array_builder_newFunction · 0.85

Tested by

no test coverage detected