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

Function garrow_int_array_builder_new

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

* garrow_int_array_builder_new: * * Returns: A newly created #GArrowIntArrayBuilder. * * Since: 0.6.0 */

Source from the content-addressed store, hash-verified

1119 * Since: 0.6.0
1120 */
1121GArrowIntArrayBuilder *
1122garrow_int_array_builder_new(void)
1123{
1124 auto memory_pool = arrow::default_memory_pool();
1125 auto arrow_builder = std::static_pointer_cast<arrow::ArrayBuilder>(
1126 std::make_shared<arrow::AdaptiveIntBuilder>(memory_pool));
1127 auto builder =
1128 garrow_array_builder_new_raw(&arrow_builder, GARROW_TYPE_INT_ARRAY_BUILDER);
1129 return GARROW_INT_ARRAY_BUILDER(builder);
1130}
1131
1132/**
1133 * garrow_int_array_builder_append:

Callers

nothing calls this directly

Calls 2

default_memory_poolFunction · 0.85

Tested by

no test coverage detected