pub enum ReadMode {
Lazy,
Decompressed,
Converted,
InMemory,
}Expand description
How an open reads a file. See FileFormat::read_mode.
Variants§
Lazy
Scanned where it is: only the rows shown, and what a query needs, are read.
Decompressed
Decompressed whole into a temporary file of the same format, which is then scanned lazily.
Converted
Read through whole into a temporary Arrow IPC file, which is then scanned lazily.
InMemory
Read whole into memory before the table appears.
Implementations§
Trait Implementations§
impl Copy for ReadMode
impl Eq for ReadMode
impl StructuralPartialEq for ReadMode
Auto Trait Implementations§
impl Freeze for ReadMode
impl RefUnwindSafe for ReadMode
impl Send for ReadMode
impl Sync for ReadMode
impl Unpin for ReadMode
impl UnsafeUnpin for ReadMode
impl UnwindSafe for ReadMode
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