Method

ArrowRecordBatchtake

Declaration [src]

GArrowRecordBatch*
garrow_record_batch_take (
  GArrowRecordBatch* record_batch,
  GArrowArray* indices,
  GArrowTakeOptions* options,
  GError** error
)

Description

No description available.
Available since:0.16.0

Parameters

indices GArrowArray
 

The indices of values to take.

 The data is owned by the caller of the function.
options GArrowTakeOptions
 

A GArrowTakeOptions.

 The argument can be NULL.
 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: GArrowRecordBatch
 

The GArrowChunkedArray taken from an array of values at indices in input array or NULL on error.

 The caller of the method takes ownership of the data, and is responsible for freeing it.
 The return value can be NULL.