GArrowStructArray

GArrowStructArray — Struct array class

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GArrowArray
        ╰── GArrowStructArray

Includes

#include <arrow-glib/arrow-glib.h>

Description

GArrowStructArray is a class for struct array. It can store zero or more structs. One struct has zero or more fields.

GArrowStructArray is immutable. You need to use GArrowStructArrayBuilder to create a new array.

Functions

garrow_struct_array_get_field ()

GArrowArray *
garrow_struct_array_get_field (GArrowStructArray *array,
                               gint i);

Parameters

array

A GArrowStructArray.

 

i

The index of the field in the struct.

 

Returns

The i-th field.

[transfer full]


garrow_struct_array_get_fields ()

GList *
garrow_struct_array_get_fields (GArrowStructArray *array);

Parameters

array

A GArrowStructArray.

 

Returns

The fields in the struct.

[element-type GArrowArray][transfer full]

Types and Values

struct GArrowStructArray

struct GArrowStructArray;

It wraps arrow::StructArray.