Method

ArrowSchemaadd_field

Declaration [src]

GArrowSchema*
garrow_schema_add_field (
  GArrowSchema* schema,
  guint i,
  GArrowField* field,
  GError** error
)

Description

No description available.
Available since:0.10.0

Parameters

i guint
 

The index of the new field.

field GArrowField
 

The field to be added.

 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: GArrowSchema
 

The newly allocated GArrowSchema that has a new field or NULL on error.

 The caller of the method takes ownership of the data, and is responsible for freeing it.
 The return value can be NULL.