建構子
ArrowTime64Arraynew
自版本:0.7.0
宣告 [src]
GArrowTime64Array*
garrow_time64_array_new (
GArrowTime64DataType* data_type,
gint64 length,
GArrowBuffer* data,
GArrowBuffer* null_bitmap,
gint64 n_nulls
)
參數
data_type
-
GArrowTime64DataType
。資料的所有權屬於此函式的呼叫者。 length
-
型別:
gint64
元素的數量。
data
-
型別:
GArrowBuffer
Arrow 格式的陣列二進位資料。
資料的所有權屬於此函式的呼叫者。 null_bitmap
-
型別:
GArrowBuffer
顯示空值元素的點陣圖。當第 N 個位元為 0 時,第 N 個元素為空值,否則不為空值。如果陣列沒有空值元素,則點陣圖必須為
NULL
且n_nulls
為 0。此參數可以為 NULL
。資料的所有權屬於此函式的呼叫者。 n_nulls
-
型別:
gint64
空值元素的數量。如果指定 -1,則會從
null_bitmap
計算空值數量。