构造函数

ArrowSparseUnionDataTypenew

声明 [src]

GArrowSparseUnionDataType*
garrow_sparse_union_data_type_new (
  GList* fields,
  gint8* type_codes,
  gsize n_type_codes
)

描述

暂无描述。

参数

fields

类型: None 列表

联合的字段。

数据由函数调用者拥有。
type_codes

类型: gint8 数组

指定每个字段的代码。

数组的长度在 n_type_codes 参数中指定。
数据由函数调用者拥有。
n_type_codes

类型: gsize

类型代码的数量。

返回值

类型: GArrowSparseUnionDataType

新创建的稀疏联合数据类型。

函数调用者拥有数据的所有权,并负责释放它。