NextRecordBatchResult

Type Alias NextRecordBatchResult 

Source
type NextRecordBatchResult = Result<(StreamReader<BufReader<File>>, Option<RecordBatch>)>;
Expand description

When we poll for the next batch, we will get back both the batch and the reader, so we can call next again.

Aliased Type§

enum NextRecordBatchResult {
    Ok((StreamReader<BufReader<File>>, Option<RecordBatch>)),
    Err(DataFusionError),
}

Variants§

§1.0.0

Ok((StreamReader<BufReader<File>>, Option<RecordBatch>))

Contains the success value

§1.0.0

Err(DataFusionError)

Contains the error value