Data type classes

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
    ╰── GArrowDataType
        ├── GArrowBinaryDataType
        ├── GArrowBooleanDataType
        ├── GArrowDoubleDataType
        ├── GArrowFloatDataType
        ├── GArrowInt16DataType
        ├── GArrowInt32DataType
        ├── GArrowInt64DataType
        ├── GArrowInt8DataType
        ├── GArrowListDataType
        ├── GArrowNullDataType
        ├── GArrowStringDataType
        ├── GArrowStructDataType
        ├── GArrowUInt16DataType
        ├── GArrowUInt32DataType
        ├── GArrowUInt64DataType
        ╰── GArrowUInt8DataType

Includes

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

Description

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

GArrowNullDataType is a class for null data type.

GArrowBooleanDataType is a class for boolean data type.

GArrowInt8DataType is a class for 8-bit integer data type.

GArrowUInt8DataType is a class for 8-bit unsigned integer data type.

GArrowInt16DataType is a class for 16-bit integer data type.

GArrowUInt16DataType is a class for 16-bit unsigned integer data type.

GArrowInt32DataType is a class for 32-bit integer data type.

GArrowUInt32DataType is a class for 32-bit unsigned integer data type.

GArrowInt64DataType is a class for 64-bit integer data type.

GArrowUInt64DataType is a class for 64-bit unsigned integer data type.

GArrowFloatDataType is a class for 32-bit floating point data type.

GArrowDoubleDataType is a class for 64-bit floating point data type.

GArrowBinaryDataType is a class for binary data type.

GArrowStringDataType is a class for UTF-8 encoded string data type.

GArrowListDataType is a class for list data type.

GArrowStructDataType is a class for struct data type.

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.


garrow_null_data_type_new ()

GArrowNullDataType *
garrow_null_data_type_new (void);

Returns

The newly created null data type.


garrow_boolean_data_type_new ()

GArrowBooleanDataType *
garrow_boolean_data_type_new (void);

Returns

The newly created boolean data type.


garrow_int8_data_type_new ()

GArrowInt8DataType *
garrow_int8_data_type_new (void);

Returns

The newly created 8-bit integer data type.


garrow_uint8_data_type_new ()

GArrowUInt8DataType *
garrow_uint8_data_type_new (void);

Returns

The newly created 8-bit unsigned integer data type.


garrow_int16_data_type_new ()

GArrowInt16DataType *
garrow_int16_data_type_new (void);

Returns

The newly created 16-bit integer data type.


garrow_uint16_data_type_new ()

GArrowUInt16DataType *
garrow_uint16_data_type_new (void);

Returns

The newly created 16-bit unsigned integer data type.


garrow_int32_data_type_new ()

GArrowInt32DataType *
garrow_int32_data_type_new (void);

Returns

The newly created 32-bit integer data type.


garrow_uint32_data_type_new ()

GArrowUInt32DataType *
garrow_uint32_data_type_new (void);

Returns

The newly created 32-bit unsigned integer data type.


garrow_int64_data_type_new ()

GArrowInt64DataType *
garrow_int64_data_type_new (void);

Returns

The newly created 64-bit integer data type.


garrow_uint64_data_type_new ()

GArrowUInt64DataType *
garrow_uint64_data_type_new (void);

Returns

The newly created 64-bit unsigned integer data type.


garrow_float_data_type_new ()

GArrowFloatDataType *
garrow_float_data_type_new (void);

Returns

The newly created float data type.


garrow_double_data_type_new ()

GArrowDoubleDataType *
garrow_double_data_type_new (void);

Returns

The newly created 64-bit floating point data type.


garrow_binary_data_type_new ()

GArrowBinaryDataType *
garrow_binary_data_type_new (void);

Returns

The newly created binary data type.


garrow_string_data_type_new ()

GArrowStringDataType *
garrow_string_data_type_new (void);

Returns

The newly created UTF-8 encoded string data type.


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 GArrowDataType

struct GArrowDataType;

It wraps arrow::DataType.


struct GArrowNullDataType

struct GArrowNullDataType;

It wraps arrow::NullType.


struct GArrowNullDataTypeClass

struct GArrowNullDataTypeClass {
  GArrowDataTypeClass parent_class;
};


struct GArrowBooleanDataType

struct GArrowBooleanDataType;

It wraps arrow::BooleanType.


struct GArrowBooleanDataTypeClass

struct GArrowBooleanDataTypeClass {
  GArrowDataTypeClass parent_class;
};


struct GArrowInt8DataType

struct GArrowInt8DataType;

It wraps arrow::Int8Type.


struct GArrowInt8DataTypeClass

struct GArrowInt8DataTypeClass {
  GArrowDataTypeClass parent_class;
};


struct GArrowUInt8DataType

struct GArrowUInt8DataType;

It wraps arrow::UInt8Type.


struct GArrowUInt8DataTypeClass

struct GArrowUInt8DataTypeClass {
  GArrowDataTypeClass parent_class;
};


struct GArrowInt16DataType

struct GArrowInt16DataType;

It wraps arrow::Int16Type.


struct GArrowInt16DataTypeClass

struct GArrowInt16DataTypeClass {
  GArrowDataTypeClass parent_class;
};


struct GArrowUInt16DataType

struct GArrowUInt16DataType;

It wraps arrow::UInt16Type.


struct GArrowUInt16DataTypeClass

struct GArrowUInt16DataTypeClass {
  GArrowDataTypeClass parent_class;
};


struct GArrowInt32DataType

struct GArrowInt32DataType;

It wraps arrow::Int32Type.


struct GArrowInt32DataTypeClass

struct GArrowInt32DataTypeClass {
  GArrowDataTypeClass parent_class;
};


struct GArrowUInt32DataType

struct GArrowUInt32DataType;

It wraps arrow::UInt32Type.


struct GArrowUInt32DataTypeClass

struct GArrowUInt32DataTypeClass {
  GArrowDataTypeClass parent_class;
};


struct GArrowInt64DataType

struct GArrowInt64DataType;

It wraps arrow::Int64Type.


struct GArrowInt64DataTypeClass

struct GArrowInt64DataTypeClass {
  GArrowDataTypeClass parent_class;
};


struct GArrowUInt64DataType

struct GArrowUInt64DataType;

It wraps arrow::UInt64Type.


struct GArrowUInt64DataTypeClass

struct GArrowUInt64DataTypeClass {
  GArrowDataTypeClass parent_class;
};


struct GArrowFloatDataType

struct GArrowFloatDataType;

It wraps arrow::FloatType.


struct GArrowFloatDataTypeClass

struct GArrowFloatDataTypeClass {
  GArrowDataTypeClass parent_class;
};


struct GArrowDoubleDataType

struct GArrowDoubleDataType;

It wraps arrow::DoubleType.


struct GArrowDoubleDataTypeClass

struct GArrowDoubleDataTypeClass {
  GArrowDataTypeClass parent_class;
};


struct GArrowBinaryDataType

struct GArrowBinaryDataType;

It wraps arrow::BinaryType.


struct GArrowBinaryDataTypeClass

struct GArrowBinaryDataTypeClass {
  GArrowDataTypeClass parent_class;
};


struct GArrowStringDataType

struct GArrowStringDataType;

It wraps arrow::StringType.


struct GArrowStringDataTypeClass

struct GArrowStringDataTypeClass {
  GArrowDataTypeClass parent_class;
};


struct GArrowListDataType

struct GArrowListDataType;

It wraps arrow::ListType.


struct GArrowListDataTypeClass

struct GArrowListDataTypeClass {
  GArrowDataTypeClass parent_class;
};


struct GArrowStructDataType

struct GArrowStructDataType;

It wraps arrow::StructType.


struct GArrowStructDataTypeClass

struct GArrowStructDataTypeClass {
  GArrowDataTypeClass parent_class;
};

Property Details

The “data-type” property

  “data-type”                gpointer

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

Flags: Write / Construct Only