Constructor
ArrowSparseUnionScalarnew
Declaration [src]
GArrowSparseUnionScalar*
garrow_sparse_union_scalar_new (
GArrowSparseUnionDataType* data_type,
gint8 type_code,
GArrowScalar* value
)
Parameters
data_type |
GArrowSparseUnionDataType |
A |
|
The data is owned by the caller of the function. | |
type_code |
gint8 |
The type code of this scalar. |
|
value |
GArrowScalar |
The value of this scalar. |
|
The data is owned by the caller of the function. |
Return value
Returns: | GArrowSparseUnionScalar |
A newly created |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |