GArrowBinaryArrayBuilder

GArrowBinaryArrayBuilder — Binary array builder class

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GArrowArrayBuilder
        ╰── GArrowBinaryArrayBuilder
            ╰── GArrowStringArrayBuilder

Description

GArrowBinaryArrayBuilder is the class to create a new GArrowBinaryArray.

Functions

garrow_binary_array_builder_new ()

GArrowBinaryArrayBuilder *
garrow_binary_array_builder_new (void);

Returns

A newly created GArrowBinaryArrayBuilder.


garrow_binary_array_builder_append ()

gboolean
garrow_binary_array_builder_append (GArrowBinaryArrayBuilder *builder,
                                    const guint8 *value,
                                    gint32 length,
                                    GError **error);

Parameters

builder

A GArrowBinaryArrayBuilder.

 

value

A binary value.

[array length=length]

length

A value length.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.


garrow_binary_array_builder_append_null ()

gboolean
garrow_binary_array_builder_append_null
                               (GArrowBinaryArrayBuilder *builder,
                                GError **error);

Parameters

builder

A GArrowBinaryArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Types and Values

struct GArrowBinaryArrayBuilder

struct GArrowBinaryArrayBuilder;

It wraps arrow::BinaryBuilder.