Constructor

ArrowSparseUnionArraynew

Declaration [src]

GArrowSparseUnionArray*
garrow_sparse_union_array_new (
  GArrowInt8Array* type_ids,
  GList* fields,
  GError** error
)

Description

No description available.
Available since:0.12.0

Parameters

type_ids GArrowInt8Array
 

The field type IDs for each value as GArrowInt8Array.

 The data is owned by the caller of the function.
fields A list of GArrowArray*
 

The arrays for each field as GList of GArrowArray.

 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: GArrowSparseUnionArray
 

A newly created GArrowSparseUnionArray or NULL on error.

 The caller of the function takes ownership of the data, and is responsible for freeing it.
 The return value can be NULL.