方法
ArrowRecordBatchtake
自:0.16.0
声明 [源代码]
GArrowRecordBatch*
garrow_record_batch_take (
GArrowRecordBatch* record_batch,
GArrowArray* indices,
GArrowTakeOptions* options,
GError** error
)
参数
indices
-
类型:
GArrowArray
要获取的值的索引。
数据由函数调用者拥有。 options
-
GArrowTakeOptions
。参数可以为 NULL
。数据由函数调用者拥有。 error
-
类型:
GError **
用于返回可恢复错误的位置。
参数可以为 NULL
。如果返回位置不为 NULL
,则必须将其初始化为NULL
GError*
。如果没有错误,该参数将由方法初始化为 NULL
。如果发生错误,该参数将设置为新分配的 GError
;调用者将拥有数据的所有权,并负责释放它。