Constructor
ArrowLargeBinaryArraynew
since: 0.16.0
Declaration [src]
GArrowLargeBinaryArray*
garrow_large_binary_array_new (
gint64 length,
GArrowBuffer* value_offsets,
GArrowBuffer* value_data,
GArrowBuffer* null_bitmap,
gint64 n_nulls
)
Parameters
length
-
Type:
gint64
The number of elements.
value_offsets
-
Type:
GArrowBuffer
The value offsets of
data
in Arrow format.The data is owned by the caller of the function. value_data
-
Type:
GArrowBuffer
The binary data in Arrow format of the array.
The data is owned by the caller of the function. null_bitmap
-
Type:
GArrowBuffer
The bitmap that shows null elements. The N-th element is null when the N-th bit is 0, not null otherwise. If the array has no null elements, the bitmap must be
NULL
andn_nulls
is 0.The argument can be NULL
.The data is owned by the caller of the function. n_nulls
-
Type:
gint64
The number of null elements. If -1 is specified, the number of nulls are computed from
null_bitmap
.
Return value
Type: GArrowLargeBinaryArray
A newly created GArrowLargeBinaryArray
.
The caller of the function takes ownership of the data, and is responsible for freeing it. |