GArrowUInt8ArrayBuilder

GArrowUInt8ArrayBuilder — 8-bit unsigned integer array builder class

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GArrowArrayBuilder
        ╰── GArrowUInt8ArrayBuilder

Description

GArrowUInt8ArrayBuilder is the class to create a new GArrowUInt8Array.

Functions

garrow_uint8_array_builder_new ()

GArrowUInt8ArrayBuilder *
garrow_uint8_array_builder_new (void);

Returns

A newly created GArrowUInt8ArrayBuilder.


garrow_uint8_array_builder_append ()

gboolean
garrow_uint8_array_builder_append (GArrowUInt8ArrayBuilder *builder,
                                   guint8 value,
                                   GError **error);

Parameters

builder

A GArrowUInt8ArrayBuilder.

 

value

An uint8 value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.


garrow_uint8_array_builder_append_null ()

gboolean
garrow_uint8_array_builder_append_null
                               (GArrowUInt8ArrayBuilder *builder,
                                GError **error);

Parameters

builder

A GArrowUInt8ArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Types and Values

struct GArrowUInt8ArrayBuilder

struct GArrowUInt8ArrayBuilder;

It wraps arrow::UInt8Builder.