arrow::ffi_stream

Function export_reader_into_raw

pub unsafe fn export_reader_into_raw(
    reader: Box<dyn RecordBatchReader<Item = Result<RecordBatch, ArrowError>> + 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.