Trait arrow::record_batch::RecordBatchReader
source · [−]pub trait RecordBatchReader: Iterator<Item = Result<RecordBatch, ArrowError>> {
fn schema(&self) -> SchemaRef;
fn next_batch(&mut self) -> Result<Option<RecordBatch>, ArrowError> { ... }
}
Expand description
Trait for types that can read RecordBatch
’s.
Required Methods
Provided Methods
sourcefn next_batch(&mut self) -> Result<Option<RecordBatch>, ArrowError>
fn next_batch(&mut self) -> Result<Option<RecordBatch>, ArrowError>
👎Deprecated since 2.0.0: This method is deprecated in favour of
next
from the trait Iterator.Reads the next RecordBatch
.