pub trait RecordBatchStream: Stream<Item = Result<RecordBatch>> { // Required method fn schema(&self) -> SchemaRef; }
Trait for types that stream [arrow::record_batch::RecordBatch]
Returns the schema of this RecordBatchStream.
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.
RecordBatch