Composite data type classes

Composite data type classes

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GArrowDataType
        ├── GArrowListDataType
        ╰── GArrowStructDataType

Includes

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

Description

GArrowListDataType is a class for list data type.

GArrowStructDataType is a class for struct data type.

Functions

garrow_list_data_type_new ()

GArrowListDataType *
garrow_list_data_type_new (GArrowField *field);

Parameters

field

The field of elements

 

Returns

The newly created list data type.


garrow_list_data_type_get_value_field ()

GArrowField *
garrow_list_data_type_get_value_field (GArrowListDataType *list_data_type);

Parameters

list_data_type

A GArrowListDataType.

 

Returns

The field of value.

[transfer full]


garrow_struct_data_type_new ()

GArrowStructDataType *
garrow_struct_data_type_new (GList *fields);

Parameters

fields

The fields of the struct.

[element-type GArrowField]

Returns

The newly created struct data type.

Types and Values

struct GArrowListDataType

struct GArrowListDataType;

It wraps arrow::ListType.


struct GArrowStructDataType

struct GArrowStructDataType;

It wraps arrow::StructType.