lance_io::stream

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.

Implementors§