Constructor
ArrowDenseUnionScalarnew
since: 5.0.0
Declaration [src]
GArrowDenseUnionScalar*
garrow_dense_union_scalar_new (
GArrowDenseUnionDataType* data_type,
gint8 type_code,
GArrowScalar* value
)
Parameters
data_type-
Type:
GArrowDenseUnionDataTypeA
GArrowDenseUnionDataTypefor this scalar.The data is owned by the caller of the function. type_code-
Type:
gint8The type code of this scalar.
value-
Type:
GArrowScalarThe value of this scalar.
The data is owned by the caller of the function.
Return value
Type: GArrowDenseUnionScalar
A newly created GArrowDenseUnionScalar.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |