Top | ![]() |
![]() |
![]() |
![]() |
GArrowSchema * | garrow_schema_new () |
gboolean | garrow_schema_equal () |
GArrowField * | garrow_schema_get_field () |
GArrowField * | garrow_schema_get_field_by_name () |
guint | garrow_schema_n_fields () |
GList * | garrow_schema_get_fields () |
gchar * | garrow_schema_to_string () |
GArrowSchema * | garrow_schema_add_field () |
GArrowSchema * | garrow_schema_remove_field () |
GArrowSchema * | garrow_schema_replace_field () |
GArrowSchema is a class for schema. Schema is metadata of a table. It has zero or more GArrowFields.
gboolean garrow_schema_equal (GArrowSchema *schema
,GArrowSchema *other_schema
);
Since: 0.4.0
GArrowField * garrow_schema_get_field_by_name (GArrowSchema *schema
,const gchar *name
);
GArrowSchema * garrow_schema_add_field (GArrowSchema *schema
,guint i
,GArrowField *field
,GError **error
);
schema |
A GArrowSchema. |
|
i |
The index of the new field. |
|
field |
The field to be added. |
|
error |
Return location for a GError or |
[nullable] |
The newly allocated
GArrowSchema that has a new field or NULL
on error.
[nullable][transfer full]
Since: 0.10.0
GArrowSchema * garrow_schema_remove_field (GArrowSchema *schema
,guint i
,GError **error
);
schema |
A GArrowSchema. |
|
i |
The index of the field to be removed. |
|
error |
Return location for a GError or |
[nullable] |
The newly allocated
GArrowSchema that doesn't have the field or NULL
on error.
[nullable][transfer full]
Since: 0.10.0
GArrowSchema * garrow_schema_replace_field (GArrowSchema *schema
,guint i
,GArrowField *field
,GError **error
);
schema |
A GArrowSchema. |
|
i |
The index of the field to be replaced. |
|
field |
The newly added GArrowField. |
|
error |
Return location for a GError or |
[nullable] |
The newly allocated
GArrowSchema that has field
as the i
-th field or NULL
on error.
[nullable][transfer full]
Since: 0.10.0