Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
RecordBatchStream in datafusion_execution - Rust
[go: Go Back, main page]

Trait datafusion_execution::RecordBatchStream

source ·
pub trait RecordBatchStream: Stream<Item = Result<RecordBatch>> {
    // Required method
    fn schema(&self) -> SchemaRef;
}
Expand description

Trait for types that stream arrow::record_batch::RecordBatch

Required Methods§

source

fn schema(&self) -> SchemaRef

Returns the schema of this RecordBatchStream.

Implementation of this trait should guarantee that all RecordBatch’s returned by this stream should have the same schema as returned from this method.

Implementors§