Method
ArrowRecordBatchadd_column
Declaration [src]
GArrowRecordBatch*
garrow_record_batch_add_column (
GArrowRecordBatch* record_batch,
guint i,
GArrowField* field,
GArrowArray* column,
GError** error
)
Parameters
i |
guint |
The index of the new column. |
|
field |
GArrowField |
The field to be added. |
|
The data is owned by the caller of the function. | |
column |
GArrowArray |
The column to be added. |
|
The data is owned by the caller of the function. | |
error |
GError ** |
The return location for a GError* , or NULL . |
Return value
Returns: | GArrowRecordBatch |
The newly allocated
|
|
The caller of the method takes ownership of the data, and is responsible for freeing it. | |
The return value can be NULL . |