Function arrow::ffi_stream::export_reader_into_raw
source · pub unsafe fn export_reader_into_raw(
reader: Box<dyn RecordBatchReader + Send>,
out_stream: *mut FFI_ArrowArrayStream
)
👎Deprecated: Use FFI_ArrowArrayStream::new
Expand description
Exports a record batch reader to raw pointer of the C Stream Interface provided by the consumer.
§Safety
Assumes that the pointer represents valid C Stream Interfaces, both in memory
representation and lifetime via the release
mechanism.