Constructor
ArrowDatasetInMemoryFragmentnew
Declaration [src]
GADatasetInMemoryFragment*
gadataset_in_memory_fragment_new (
GArrowSchema* schema,
GArrowRecordBatch** record_batches,
gsize n_record_batches
)
Parameters
schema |
GArrowSchema |
A |
|
The data is owned by the caller of the function. | |
record_batches |
An array of GArrowRecordBatch* |
The record batches of 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. |
Return value
Returns: | GADatasetInMemoryFragment |
A newly created |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |