建構子

ArrowFixedSizeBinaryArraynew

since:3.0.0

宣告 [src]

GArrowFixedSizeBinaryArray*
garrow_fixed_size_binary_array_new (
  GArrowFixedSizeBinaryDataType* data_type,
  gint64 length,
  GArrowBuffer* data,
  GArrowBuffer* null_bitmap,
  gint64 n_nulls
)

描述

無可用描述。

自版本起可用:3.0.0

參數

data_type

類型: GArrowFixedSizeBinaryDataType

陣列的 GArrowFixedSizeBinaryDataType

資料的所有權屬於此函式的呼叫者。
length

類型: gint64

元素的數量。

data

類型: GArrowBuffer

Arrow 格式的陣列二進制資料。

資料的所有權屬於此函式的呼叫者。
null_bitmap

類型: GArrowBuffer

顯示空元素的位元地圖。當第 N 個位元為 0 時,第 N 個元素為空值,否則不為空值。如果陣列沒有空元素,則位元地圖必須為 NULLn_nulls 為 0。

此參數可以為 NULL
資料的所有權屬於此函式的呼叫者。
n_nulls

類型: gint64

空元素的數量。如果指定 -1,則會從 null_bitmap 計算空值的數量。

回傳值

類型: GArrowFixedSizeBinaryArray

新建立的 GArrowFixedSizeBinaryArray

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