Method

ArrowRecordBatchslice

Declaration [src]

GArrowRecordBatch*
garrow_record_batch_slice (
  GArrowRecordBatch* record_batch,
  gint64 offset,
  gint64 length
)

Description

No description available.

Parameters

offset gint64
 

The offset of sub GArrowRecordBatch.

length gint64
 

The length of sub GArrowRecordBatch.

Return value

Returns: GArrowRecordBatch
 

The sub GArrowRecordBatch. It covers only from offset to offset + length range. The sub GArrowRecordBatch shares values with the base GArrowRecordBatch.

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