arrow_csv::reader

Type Alias Reader

Source
pub type Reader<R> = BufReader<BufReader<R>>;
Expand description

CSV file reader using std::io::BufReader

Aliased Type§

struct Reader<R> {
    reader: BufReader<R>,
    decoder: Decoder,
}

Fields§

§reader: BufReader<R>

File reader

§decoder: Decoder

The decoder

Implementations§

Source§

impl<R: Read> Reader<R>

Source

pub fn schema(&self) -> SchemaRef

Returns the schema of the reader, useful for getting the schema without reading record batches