pub trait ArrowScanExt {
// Required method
fn run_record_batches(
self,
builder: impl Into<ScanBuilder>,
schema: Option<SchemaRef>,
) -> BoxStream<'static, VortexResult<RecordBatch>>;
}Expand description
Arrow record-batch output for a scan driver.
Required Methods§
Sourcefn run_record_batches(
self,
builder: impl Into<ScanBuilder>,
schema: Option<SchemaRef>,
) -> BoxStream<'static, VortexResult<RecordBatch>>
fn run_record_batches( self, builder: impl Into<ScanBuilder>, schema: Option<SchemaRef>, ) -> BoxStream<'static, VortexResult<RecordBatch>>
Runs the scan, executing each batch to an Arrow RecordBatch.
When schema is None, the session derives it from the scan’s output dtype. Conversion
and decompression run on the worker producing each batch, in parallel across chunks.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".