Constructor
ArrowStringViewArraynew
since: 20.0.0
Declaration [src]
GArrowStringViewArray*
garrow_string_view_array_new (
  gint64 length,
  GArrowBuffer* views,
  GList* data_buffers,
  GArrowBuffer* null_bitmap,
  gint64 n_nulls,
  gint64 offset
)
Parameters
- length
- 
            Type: gint64The number of elements. 
- views
- 
            Type: GArrowBufferThe view buffer. The data is owned by the caller of the function. 
- data_buffers
- 
            Type: A list of GArrowBuffer*The data buffers. 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.
- offset
- 
            Type: gint64The position of the first element. 
Return value
Type: GArrowStringViewArray
A newly created GArrowStringViewArray.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |