建構子

ArrowSparseUnionDataTypenew

宣告 [src]

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

描述

無可用描述。

參數

fields

類型: None 的清單

union 的欄位。

資料由函式的呼叫者所擁有。
type_codes

類型: gint8 的陣列

指定每個欄位的代碼。

陣列的長度在 n_type_codes 引數中指定。
資料由函式的呼叫者所擁有。
n_type_codes

類型: gsize

類型代碼的數量。

回傳值

類型: GArrowSparseUnionDataType

新建立的 sparse union 資料類型。

函式的呼叫者取得資料的所有權,並負責釋放它。