Constructor

ArrowDenseUnionScalarnew

Declaration [src]

GArrowDenseUnionScalar*
garrow_dense_union_scalar_new (
  GArrowDenseUnionDataType* data_type,
  gint8 type_code,
  GArrowScalar* value
)

Description

No description available.
Available since:5.0.0

Parameters

data_type GArrowDenseUnionDataType
 

A GArrowDenseUnionDataType for this scalar.

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

A newly created GArrowDenseUnionScalar.

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