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

Function garrow_uint_array_builder_new

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

* garrow_uint_array_builder_new: * * Returns: A newly created #GArrowUIntArrayBuilder. * * Since: 0.8.0 */

Source from the content-addressed store, hash-verified

1273 * Since: 0.8.0
1274 */
1275GArrowUIntArrayBuilder *
1276garrow_uint_array_builder_new(void)
1277{
1278 auto memory_pool = arrow::default_memory_pool();
1279 auto arrow_builder = std::static_pointer_cast<arrow::ArrayBuilder>(
1280 std::make_shared<arrow::AdaptiveUIntBuilder>(memory_pool));
1281 auto builder =
1282 garrow_array_builder_new_raw(&arrow_builder, GARROW_TYPE_UINT_ARRAY_BUILDER);
1283 return GARROW_UINT_ARRAY_BUILDER(builder);
1284}
1285
1286/**
1287 * garrow_uint_array_builder_append:

Callers

nothing calls this directly

Calls 2

default_memory_poolFunction · 0.85

Tested by

no test coverage detected