Constructor
ArrowLargeListArraynew
Declaration [src]
GArrowLargeListArray*
garrow_large_list_array_new (
GArrowDataType* data_type,
gint64 length,
GArrowBuffer* value_offsets,
GArrowArray* values,
GArrowBuffer* null_bitmap,
gint64 n_nulls
)
Parameters
data_type |
GArrowDataType |
The data type of the list. |
|
The data is owned by the caller of the function. | |
length |
gint64 |
The number of elements. |
|
value_offsets |
GArrowBuffer |
The offsets of |
|
The data is owned by the caller of the function. | |
values |
GArrowArray |
The values as |
|
The data is owned by the caller of the function. | |
null_bitmap |
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 |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
n_nulls |
gint64 |
The number of null elements. If -1 is specified, the
number of nulls are computed from |
Return value
Returns: | GArrowLargeListArray |
A newly created |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |