Top |
GObject ╰── GArrowDataType ├── GArrowFixedWidthDataType │ ╰── GArrowDictionaryDataType ├── GArrowLargeListDataType ├── GArrowListDataType │ ╰── GArrowMapDataType ├── GArrowStructDataType ╰── GArrowUnionDataType ├── GArrowDenseUnionDataType ├── GArrowSparseUnionDataType ├── GArrowDenseUnionDataType ╰── GArrowSparseUnionDataType
GArrowListDataType is a class for list data type.
GArrowLargeListDataType is a class for 64-bit offsets list data type.
GArrowStructDataType is a class for struct data type.
GArrowMapDataType is a class for map data type.
GArrowUnionDataType is a base class for union data types.
GArrowSparseUnionDataType is a class for sparse union data type.
GArrowDenseUnionDataType is a class for dense union data type.
GArrowDictionaryDataType is a class for dictionary data type.
GArrowField *
garrow_list_data_type_get_value_field (GArrowListDataType *list_data_type
);
garrow_list_data_type_get_value_field
has been deprecated since version 0.13.0 and should not be used in newly-written code.
Use garrow_list_data_type_get_field()
instead.
GArrowField *
garrow_list_data_type_get_field (GArrowListDataType *list_data_type
);
Since: 0.13.0
GArrowLargeListDataType *
garrow_large_list_data_type_new (GArrowField *field
);
Since: 0.16.0
GArrowField *
garrow_large_list_data_type_get_field (GArrowLargeListDataType *large_list_data_type
);
Since: 0.16.0
gint
garrow_struct_data_type_get_n_fields (GArrowStructDataType *struct_data_type
);
Since: 0.12.0
GList *
garrow_struct_data_type_get_fields (GArrowStructDataType *struct_data_type
);
Since: 0.12.0
GArrowField * garrow_struct_data_type_get_field (GArrowStructDataType *struct_data_type
,gint i
);
The field at the index in the struct data type or NULL
on not found.
[transfer full][nullable]
Since: 0.12.0
GArrowField * garrow_struct_data_type_get_field_by_name (GArrowStructDataType *struct_data_type
,const gchar *name
);
The field that has the name in the struct data type or NULL
on not found.
[transfer full][nullable]
Since: 0.12.0
gint garrow_struct_data_type_get_field_index (GArrowStructDataType *struct_data_type
,const gchar *name
);
Since: 0.12.0
GArrowMapDataType * garrow_map_data_type_new (GArrowDataType *key_type
,GArrowDataType *item_type
);
Since: 0.17.0
GArrowDataType *
garrow_map_data_type_get_key_type (GArrowMapDataType *map_data_type
);
Since: 0.17.0
GArrowDataType *
garrow_map_data_type_get_item_type (GArrowMapDataType *map_data_type
);
Since: 0.17.0
gint
garrow_union_data_type_get_n_fields (GArrowUnionDataType *union_data_type
);
Since: 0.12.0
GList *
garrow_union_data_type_get_fields (GArrowUnionDataType *union_data_type
);
Since: 0.12.0
GArrowField * garrow_union_data_type_get_field (GArrowUnionDataType *union_data_type
,gint i
);
The field at the index in the union data type or NULL
on not found.
[transfer full][nullable]
Since: 0.12.0
gint8 * garrow_union_data_type_get_type_codes (GArrowUnionDataType *union_data_type
,gsize *n_type_codes
);
The codes for each field.
It should be freed with g_free()
when no longer needed.
[transfer full][array length=n_type_codes]
Since: 0.12.0
GArrowSparseUnionDataType * garrow_sparse_union_data_type_new (GList *fields
,gint8 *type_codes
,gsize n_type_codes
);
GArrowDenseUnionDataType * garrow_dense_union_data_type_new (GList *fields
,gint8 *type_codes
,gsize n_type_codes
);
GArrowDictionaryDataType * garrow_dictionary_data_type_new (GArrowDataType *index_data_type
,GArrowDataType *value_data_type
,gboolean ordered
);
index_data_type |
The data type of index. |
|
value_data_type |
The data type of dictionary values. |
|
ordered |
Whether dictionary contents are ordered or not. |
Since: 0.8.0
GArrowDataType *
garrow_dictionary_data_type_get_index_data_type
(GArrowDictionaryDataType *dictionary_data_type
);
Since: 0.8.0
GArrowDataType *
garrow_dictionary_data_type_get_value_data_type
(GArrowDictionaryDataType *dictionary_data_type
);
Since: 0.14.0
gboolean
garrow_dictionary_data_type_is_ordered
(GArrowDictionaryDataType *dictionary_data_type
);
Since: 0.8.0
struct GArrowListDataTypeClass { GArrowDataTypeClass parent_class; };
#define GARROW_TYPE_LARGE_LIST_DATA_TYPE (garrow_large_list_data_type_get_type())
struct GArrowLargeListDataTypeClass { GArrowDataTypeClass parent_class; };
#define GARROW_TYPE_STRUCT_DATA_TYPE (garrow_struct_data_type_get_type())
struct GArrowStructDataTypeClass { GArrowDataTypeClass parent_class; };
struct GArrowMapDataTypeClass { GArrowListDataTypeClass parent_class; };
struct GArrowUnionDataTypeClass { GArrowDataTypeClass parent_class; };
struct GArrowSparseUnionDataTypeClass { GArrowUnionDataTypeClass parent_class; };
struct GArrowDenseUnionDataTypeClass { GArrowUnionDataTypeClass parent_class; };
#define GARROW_TYPE_DICTIONARY_DATA_TYPE (garrow_dictionary_data_type_get_type())
struct GArrowDictionaryDataTypeClass { GArrowFixedWidthDataTypeClass parent_class; };