GArrowSchema
GArrowSchema — Schema class
|
|
Object Hierarchy
GObject
╰── GArrowSchema
Functions
garrow_schema_new ()
GArrowSchema *
garrow_schema_new (GList *fields
);
garrow_schema_equal ()
gboolean
garrow_schema_equal (GArrowSchema *schema
,
GArrowSchema *other_schema
);
Returns
TRUE
if both of them have the same data, FALSE
otherwise.
Since 0.4.0
garrow_schema_get_field ()
GArrowField *
garrow_schema_get_field (GArrowSchema *schema
,
guint i
);
Returns
The i-th field of the schema.
[transfer full]
garrow_schema_get_field_by_name ()
GArrowField *
garrow_schema_get_field_by_name (GArrowSchema *schema
,
const gchar *name
);
Returns
The found field or NULL
.
[transfer full]
garrow_schema_n_fields ()
guint
garrow_schema_n_fields (GArrowSchema *schema
);
Returns
The number of fields of the schema.
garrow_schema_get_fields ()
GList *
garrow_schema_get_fields (GArrowSchema *schema
);
Returns
The fields of the schema.
[element-type GArrowField][transfer full]
garrow_schema_to_string ()
gchar *
garrow_schema_to_string (GArrowSchema *schema
);
Returns
The string representation of the schema.
Types and Values
struct GArrowSchema
struct GArrowSchema;
It wraps arrow::Schema
.
Property Details
The “schema”
property
“schema” gpointer
The raw std::shared<arrow::Schema> *.
Flags: Write / Construct Only