Method
ArrowRecordBatchslice
Declaration [src]
GArrowRecordBatch*
garrow_record_batch_slice (
GArrowRecordBatch* record_batch,
gint64 offset,
gint64 length
)
Parameters
offset
-
Type:
gint64
The offset of sub
GArrowRecordBatch
. length
-
Type:
gint64
The length of sub
GArrowRecordBatch
.
Return value
Type: 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. |