#[unsafe(no_mangle)]pub unsafe extern "C" fn laminar_batch_export_column(
batch: *mut LaminarRecordBatch,
column_index: usize,
out_array: *mut FFI_ArrowArray,
out_schema: *mut FFI_ArrowSchema,
) -> i32Expand description
Export a single column from a RecordBatch to the Arrow C Data Interface.
§Arguments
batch- Record batch containing the columncolumn_index- Zero-based index of the column to exportout_array- Pointer to caller-allocatedArrowArraystructout_schema- Pointer to caller-allocatedArrowSchemastruct
§Returns
LAMINAR_OK on success, or an error code.
§Safety
batchmust be a valid batch handlecolumn_indexmust be less than the number of columnsout_arrayandout_schemamust be valid pointers- Caller must eventually call the release callbacks