Method

ArrowStructDataTypeget_field_by_name

since: 0.12.0

Declaration [src]

GArrowField*
garrow_struct_data_type_get_field_by_name (
  GArrowStructDataType* struct_data_type,
  const gchar* name
)

Description

No description available.

Available since: 0.12.0

Parameters

name

Type: const gchar*

The name of the target field.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: GArrowField

The field that has the name in the struct data type or NULL on not found.

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