方法

ArrowCSVReadOptionsadd_column_type

自:0.12.0

声明 [源代码]

void
garrow_csv_read_options_add_column_type (
  GArrowCSVReadOptions* options,
  const gchar* name,
  GArrowDataType* data_type
)

描述 [源代码]

添加列的值类型。

可用自:0.12.0

参数

name

类型: const gchar*

目标列的名称。

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

类型: GArrowDataType

列的 GArrowDataType

数据由函数的调用者拥有。