Method

ArrowUnionArrayBuilderappend_value

Declaration [src]

gboolean
garrow_union_array_builder_append_value (
  GArrowUnionArrayBuilder* builder,
  gint8 value,
  GError** error
)

Description [src]

Append an element to the union array.

If builder is GArrowDenseUnionArrayBuilder, this must be followed by an append to the appropriate child builder.

If builder is GArrowSparseUnionArrayBuilder, this must be followed by appends to all child builders. The corresponding child builder must be appended to independently after this method is called, and all other child builders must have null or empty value appended.

Available since:12.0.0

Parameters

value gint8
 

A type ID value.

error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE on success, FALSE if there was an error.