GArrowFloatArrayBuilder

GArrowFloatArrayBuilder — 32-bit floating point array builder class

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GArrowArrayBuilder
        ╰── GArrowFloatArrayBuilder

Description

GArrowFloatArrayBuilder is the class to creating a new GArrowFloatArray.

Functions

garrow_float_array_builder_new ()

GArrowFloatArrayBuilder *
garrow_float_array_builder_new (void);

Returns

A newly created GArrowFloatArrayBuilder.


garrow_float_array_builder_append ()

gboolean
garrow_float_array_builder_append (GArrowFloatArrayBuilder *builder,
                                   gfloat value,
                                   GError **error);

Parameters

builder

A GArrowFloatArrayBuilder.

 

value

A float value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.


garrow_float_array_builder_append_null ()

gboolean
garrow_float_array_builder_append_null
                               (GArrowFloatArrayBuilder *builder,
                                GError **error);

Parameters

builder

A GArrowFloatArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Types and Values

struct GArrowFloatArrayBuilder

struct GArrowFloatArrayBuilder;

It wraps arrow::FloatBuilder.