Skip to main content

RecordBatchStream

Trait RecordBatchStream 

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

RecordBatch Stream trait.

Required Methods§

Source

fn schema(&self) -> SchemaRef

Returns the schema of the stream.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§