Method

ArrowRecordBatchadd_column

Declaration [src]

GArrowRecordBatch*
garrow_record_batch_add_column (
  GArrowRecordBatch* record_batch,
  guint i,
  GArrowField* field,
  GArrowArray* column,
  GError** error
)

Description

No description available.
Available since:0.9.0

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 GArrowRecordBatch that has a new column or NULL on error.

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