[ Web Proxy ]
URL:
Viewing: https://arrow.apache.org/docs/python/api/../../cpp/../c_glib/arrow-glib/ctor.UInt8Array.new.html [Back]  [Original]

Arrow.UInt8Array.new

Arrow

API Version: 25.0

Library Version: 25.0.1

Type
Constructors

Generated by gi-docgen 2025.3

Constructor

ArrowUInt8Arraynew

since: 0.4.0

Declaration [src]

GArrowUInt8Array*
garrow_uint8_array_new (
  gint64 length,
  GArrowBuffer* data,
  GArrowBuffer* null_bitmap,
  gint64 n_nulls
)

Description

No description available.

Available since: 0.4.0

Parameters

length

Type: gint64

The number of elements.

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 and n_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: GArrowUInt8Array

A newly created GArrowUInt8Array.

The caller of the function takes ownership of the data, and is responsible for freeing it.

Web Proxy Viewer  |  New URL  |  Original Page