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

Function garrow_array_builder_reserve

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

* garrow_array_builder_reserve: * @builder: A #GArrowArrayBuilder. * @additional_capacity: The additional capacity to be reserved. * @error: (nullable): Return location for a #GError or %NULL. * * Returns: %TRUE on success, %FALSE if there was an error. * * Since: 2.0.0 */

Source from the content-addressed store, hash-verified

761 * Since: 2.0.0
762 */
763gboolean
764garrow_array_builder_reserve(GArrowArrayBuilder *builder,
765 gint64 additional_capacity,
766 GError **error)
767{
768 auto arrow_builder = garrow_array_builder_get_raw(builder);
769 auto status = arrow_builder->Reserve(additional_capacity);
770 return garrow_error_check(error, status, "[array-builder][reserve]");
771}
772
773/**
774 * garrow_array_builder_append_null:

Callers

nothing calls this directly

Calls 3

garrow_error_checkFunction · 0.85
ReserveMethod · 0.45

Tested by

no test coverage detected