| Top |
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 |
[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);
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 |
[nullable] |
The newly allocated
GArrowSchema that has field
as the i
-th field or NULL on error.
[nullable][transfer full]
Since: 0.10.0
“schema” property“schema” gpointer
The raw std::shared<arrow::Schema> *.
Flags: Write / Construct Only