Function orc_format::read::read_stripe_column
source · [−]pub fn read_stripe_column<R: Read + Seek>(
reader: &mut R,
metadata: &FileMetadata,
stripe: usize,
footer: StripeFooter,
column: u32,
scratch: Vec<u8>
) -> Result<Column, Error>
Expand description
Reads column
from the stripe into a Column
.
scratch
becomes owned by Column
, which you can recover via into_inner
.
Implementation
This function is guaranteed to perform exactly one seek and one read to reader
.