Trait vortex_array::stream::ArrayStream

source ·
pub trait ArrayStream: Stream<Item = VortexResult<ArrayData>> {
    // Required method
    fn dtype(&self) -> &DType;
}
Expand description

A stream of array chunks along with a DType.

Can be thought of as equivalent to Arrow’s RecordBatchReader.

Required Methods§

source

fn dtype(&self) -> &DType

Implementors§

source§

impl<S> ArrayStream for ArrayStreamAdapter<S>
where S: Stream<Item = VortexResult<ArrayData>>,