GArrowColumn

GArrowColumn — Column class

Functions

Properties

gpointer column Write / Construct Only

Types and Values

struct GArrowColumn

Object Hierarchy

    GObject
    ╰── GArrowColumn

Description

GArrowColumn is a class for column. Column has a GArrowField and zero or more values. Values are GArrowChunkedArray.

Functions

garrow_column_new_array ()

GArrowColumn *
garrow_column_new_array (GArrowField *field,
                         GArrowArray *array);

Parameters

field

The metadata of the column.

 

array

The data of the column.

 

Returns

A newly created GArrowColumn.


garrow_column_new_chunked_array ()

GArrowColumn *
garrow_column_new_chunked_array (GArrowField *field,
                                 GArrowChunkedArray *chunked_array);

Parameters

field

The metadata of the column.

 

chunked_array

The data of the column.

 

Returns

A newly created GArrowColumn.


garrow_column_get_length ()

guint64
garrow_column_get_length (GArrowColumn *column);

Parameters

column

A GArrowColumn.

 

Returns

The number of data of the column.


garrow_column_get_n_nulls ()

guint64
garrow_column_get_n_nulls (GArrowColumn *column);

Parameters

column

A GArrowColumn.

 

Returns

The number of nulls of the column.


garrow_column_get_field ()

GArrowField *
garrow_column_get_field (GArrowColumn *column);

Parameters

column

A GArrowColumn.

 

Returns

The metadata of the column.

[transfer full]


garrow_column_get_name ()

const gchar *
garrow_column_get_name (GArrowColumn *column);

Parameters

column

A GArrowColumn.

 

Returns

The name of the column.


garrow_column_get_data_type ()

GArrowDataType *
garrow_column_get_data_type (GArrowColumn *column);

Parameters

column

A GArrowColumn.

 

Returns

The data type of the column.

[transfer full]


garrow_column_get_data ()

GArrowChunkedArray *
garrow_column_get_data (GArrowColumn *column);

Parameters

column

A GArrowColumn.

 

Returns

The data of the column.

[transfer full]

Types and Values

struct GArrowColumn

struct GArrowColumn;

It wraps arrow::Column.

Property Details

The “column” property

  “column”                   gpointer

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

Flags: Write / Construct Only