方法

ArrowSchema(模式)get_field_index(获取字段索引)

since: 0.15.0

声明 [src]

gint
garrow_schema_get_field_index (
  GArrowSchema* schema,
  const gchar* name
)

描述

无可用描述。

可用版本: 0.15.0

参数

name(名称)

类型: const gchar*

要查找的字段的名称。

数据由函数的调用者拥有。
该值是以 NUL 结尾的 UTF-8 字符串。

返回值

类型: gint

找到的字段的索引,如果未找到,则为 -1。