Constructor

ArrowDatasetInMemoryFragmentnew

since: 4.0.0

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

Type: GArrowSchema

A GArrowSchema.

The data is owned by the caller of the function.
record_batches

Type: 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

Type: gsize

The number of record batches.

Return value

Type: GADatasetInMemoryFragment

A newly created GADatasetInMemoryFragment.

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