GArrowInt16ArrayBuilder

GArrowInt16ArrayBuilder — 16-bit integer array builder class

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GArrowArrayBuilder
        ╰── GArrowInt16ArrayBuilder

Description

GArrowInt16ArrayBuilder is the class to create a new GArrowInt16Array.

Functions

garrow_int16_array_builder_new ()

GArrowInt16ArrayBuilder *
garrow_int16_array_builder_new (void);

Returns

A newly created GArrowInt16ArrayBuilder.


garrow_int16_array_builder_append ()

gboolean
garrow_int16_array_builder_append (GArrowInt16ArrayBuilder *builder,
                                   gint16 value,
                                   GError **error);

Parameters

builder

A GArrowInt16ArrayBuilder.

 

value

A int16 value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.


garrow_int16_array_builder_append_null ()

gboolean
garrow_int16_array_builder_append_null
                               (GArrowInt16ArrayBuilder *builder,
                                GError **error);

Parameters

builder

A GArrowInt16ArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Types and Values

struct GArrowInt16ArrayBuilder

struct GArrowInt16ArrayBuilder;

It wraps arrow::Int16Builder.