Method
ArrowUnionArrayBuilderappend_value
since: 12.0.0
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
-
Type:
gint8
A type ID value.
error
-
Type:
GError **
The return location for a recoverable error.
The argument can be NULL
.If the return location is not NULL
, then you must initialize it to aNULL
GError*
.The argument will left initialized to NULL
by the method if there are no errors.In case of error, the argument will be set to a newly allocated GError
; the caller will take ownership of the data, and be responsible for freeing it.