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§