GArrowUInt16ArrayBuilder

GArrowUInt16ArrayBuilder — 16-bit unsigned integer array builder class

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GArrowArrayBuilder
        ╰── GArrowUInt16ArrayBuilder

Description

GArrowUInt16ArrayBuilder is the class to create a new GArrowUInt16Array.

Functions

garrow_uint16_array_builder_new ()

GArrowUInt16ArrayBuilder *
garrow_uint16_array_builder_new (void);

Returns

A newly created GArrowUInt16ArrayBuilder.


garrow_uint16_array_builder_append ()

gboolean
garrow_uint16_array_builder_append (GArrowUInt16ArrayBuilder *builder,
                                    guint16 value,
                                    GError **error);

Parameters

builder

A GArrowUInt16ArrayBuilder.

 

value

An uint16 value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.


garrow_uint16_array_builder_append_null ()

gboolean
garrow_uint16_array_builder_append_null
                               (GArrowUInt16ArrayBuilder *builder,
                                GError **error);

Parameters

builder

A GArrowUInt16ArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Types and Values

struct GArrowUInt16ArrayBuilder

struct GArrowUInt16ArrayBuilder;

It wraps arrow::UInt16Builder.