Constructor
ArrowSparseUnionDataTypenew
[−]
Declaration [src]
GArrowSparseUnionDataType*
garrow_sparse_union_data_type_new (
GList* fields,
gint8* type_codes,
gsize n_type_codes
)
[−]
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: | GArrowSparseUnionDataType |
The newly created sparse union data type. |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |