Constructor

ArrowDenseUnionDataTypenew

Declaration [src]

GArrowDenseUnionDataType*
garrow_dense_union_data_type_new (
  GList* fields,
  gint8* type_codes,
  gsize n_type_codes
)

Description

No description available.

Parameters

fields A list of None
 

The fields of the union.

 The data is owned by the caller of the function.
type_codes An array of gint8
 

The codes to specify each field.

 The length of the array is specified in the n_type_codes argument.
 The data is owned by the caller of the function.
n_type_codes gsize
 

The number of type codes.

Return value

Returns: GArrowDenseUnionDataType
 

The newly created dense union data type.

 The caller of the function takes ownership of the data, and is responsible for freeing it.