Constructor

ArrowTablenew_record_batches

Declaration [src]

GArrowTable*
garrow_table_new_record_batches (
  GArrowSchema* schema,
  GArrowRecordBatch** record_batches,
  gsize n_record_batches,
  GError** error
)

Description

No description available.
Available since:0.12.0

Parameters

schema GArrowSchema
 

The schema of the table.

 The data is owned by the caller of the function.
record_batches An array of GArrowRecordBatch*
 

The record batches that have data for the table.

 The length of the array is specified in the n_record_batches argument.
 The data is owned by the caller of the function.
n_record_batches gsize
 

The number of record batches.

error GError **
  The return location for a GError*, or NULL.

Return value

Returns: GArrowTable
 

A newly created GArrowTable or NULL on error.

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