pub struct Reader(/* private fields */);Expand description
Reads ORC file meta-data and constructs RowReader
Implementations§
Source§impl Reader
impl Reader
pub fn new(input_stream: InputStream) -> OrcResult<Reader>
pub fn new_with_options( input_stream: InputStream, options: ReaderOptions, ) -> OrcResult<Reader>
pub fn row_reader(&self, options: &RowReaderOptions) -> OrcResult<RowReader>
Sourcepub fn kind(&self) -> Kind
pub fn kind(&self) -> Kind
Returns the data type of the file being read. This is usually a struct.
Sourcepub fn stripes(&self) -> impl Iterator<Item = StripeInformation> + '_
pub fn stripes(&self) -> impl Iterator<Item = StripeInformation> + '_
Returns an iterator of StripeInformation
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Reader
impl RefUnwindSafe for Reader
impl Unpin for Reader
impl UnwindSafe for Reader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more