* garrow_uint_array_builder_new: * * Returns: A newly created #GArrowUIntArrayBuilder. * * Since: 0.8.0 */
| 1273 | * Since: 0.8.0 |
| 1274 | */ |
| 1275 | GArrowUIntArrayBuilder * |
| 1276 | garrow_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: |
nothing calls this directly
no test coverage detected