GArrowDataType

GArrowDataType — Base class for all data type classes

Functions

Properties

gpointer data-type Write / Construct Only

Types and Values

Object Hierarchy

    GObject
    ╰── GArrowDataType
        ├── GArrowBinaryDataType
        ├── GArrowBooleanDataType
        ├── GArrowDoubleDataType
        ├── GArrowFloatDataType
        ├── GArrowInt16DataType
        ├── GArrowInt32DataType
        ├── GArrowInt64DataType
        ├── GArrowInt8DataType
        ├── GArrowListDataType
        ├── GArrowNullDataType
        ├── GArrowStringDataType
        ├── GArrowStructDataType
        ├── GArrowUInt16DataType
        ├── GArrowUInt32DataType
        ├── GArrowUInt64DataType
        ╰── GArrowUInt8DataType

Description

GArrowDataType is a base class for all data type classes such as GArrowBooleanDataType.

Functions

garrow_data_type_equal ()

gboolean
garrow_data_type_equal (GArrowDataType *data_type,
                        GArrowDataType *other_data_type);

Parameters

data_type

A GArrowDataType.

 

other_data_type

A GArrowDataType.

 

Returns

Whether they are equal or not.


garrow_data_type_to_string ()

gchar *
garrow_data_type_to_string (GArrowDataType *data_type);

Parameters

data_type

A GArrowDataType.

 

Returns

The string representation of the data type. The caller must free it by g_free() when the caller doesn't need it anymore.


garrow_data_type_type ()

GArrowType
garrow_data_type_type (GArrowDataType *data_type);

Parameters

data_type

A GArrowDataType.

 

Returns

The type of the data type.

Types and Values

struct GArrowDataType

struct GArrowDataType;

It wraps arrow::DataType.

Property Details

The “data-type” property

  “data-type”                gpointer

The raw std::shared<arrow::DataType> *.

Flags: Write / Construct Only