Constructor
ArrowRecordBatchnew
Declaration [src]
GArrowRecordBatch*
garrow_record_batch_new (
GArrowSchema* schema,
guint32 n_rows,
GList* columns,
GError** error
)
Parameters
schema |
GArrowSchema |
The schema of the record batch. |
|
The data is owned by the caller of the function. | |
n_rows |
guint32 |
The number of the rows in the record batch. |
|
columns |
A list of GArrowArray* |
The columns in the record batch. |
|
The data is owned by the caller of the function. | |
error |
GError ** |
The return location for a GError* , or NULL . |
Return value
Returns: | GArrowRecordBatch |
A newly created |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. | |
The return value can be NULL . |