GArrowInt32ArrayBuilder

GArrowInt32ArrayBuilder — 32-bit integer array builder class

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GArrowArrayBuilder
        ╰── GArrowInt32ArrayBuilder

Description

GArrowInt32ArrayBuilder is the class to create a new GArrowInt32Array.

Functions

garrow_int32_array_builder_new ()

GArrowInt32ArrayBuilder *
garrow_int32_array_builder_new (void);

Returns

A newly created GArrowInt32ArrayBuilder.


garrow_int32_array_builder_append ()

gboolean
garrow_int32_array_builder_append (GArrowInt32ArrayBuilder *builder,
                                   gint32 value,
                                   GError **error);

Parameters

builder

A GArrowInt32ArrayBuilder.

 

value

A int32 value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.


garrow_int32_array_builder_append_null ()

gboolean
garrow_int32_array_builder_append_null
                               (GArrowInt32ArrayBuilder *builder,
                                GError **error);

Parameters

builder

A GArrowInt32ArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Types and Values

struct GArrowInt32ArrayBuilder

struct GArrowInt32ArrayBuilder;

It wraps arrow::Int32Builder.