Method

ArrowSchemareplace_field

Declaration [src]

GArrowSchema*
garrow_schema_replace_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 field to be replaced.

field GArrowField
 

The newly added GArrowField.

 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 field as the i-th 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.