Constructor

ArrowDenseUnionArraynew

Declaration [src]

GArrowDenseUnionArray*
garrow_dense_union_array_new (
  GArrowInt8Array* type_ids,
  GArrowInt32Array* value_offsets,
  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.
value_offsets GArrowInt32Array
 

The value offsets for each value as GArrowInt32Array. Each offset is counted for each type.

 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: GArrowDenseUnionArray
 

A newly created GArrowDenseUnionArray 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.