Constructor

ArrowDatasetInMemoryFragmentnew

Declaration [src]

GADatasetInMemoryFragment*
gadataset_in_memory_fragment_new (
  GArrowSchema* schema,
  GArrowRecordBatch** record_batches,
  gsize n_record_batches
)

Description

No description available.
Available since:4.0.0

Parameters

schema GArrowSchema
 

A GArrowSchema.

 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 GADatasetInMemoryFragment.

 The caller of the function takes ownership of the data, and is responsible for freeing it.