Constructor
ArrowListArraynew
since: 0.4.0
Declaration [src]
GArrowListArray*
garrow_list_array_new (
  GArrowDataType* data_type,
  gint64 length,
  GArrowBuffer* value_offsets,
  GArrowArray* values,
  GArrowBuffer* null_bitmap,
  gint64 n_nulls
)
Parameters
- data_type
- 
            Type: GArrowDataTypeThe data type of the list. The data is owned by the caller of the function. 
- length
- 
            Type: gint64The number of elements. 
- value_offsets
- 
            Type: GArrowBufferThe offsets of valuesin Arrow format.The data is owned by the caller of the function. 
- values
- 
            Type: GArrowArrayThe values as GArrowArray.The data is owned by the caller of the function. 
- null_bitmap
- 
            Type: GArrowBufferThe 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 NULLandn_nullsis 0.The argument can be NULL.The data is owned by the caller of the function. 
- n_nulls
- 
            Type: gint64The number of null elements. If -1 is specified, the number of nulls are computed from null_bitmap.
Return value
Type: GArrowListArray
A newly created GArrowListArray.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |