Struct polars_io::ndjson_core::ndjson::JsonLineReader
source · [−]pub struct JsonLineReader<'a, R> where
R: MmapBytesReader, { /* private fields */ }
Available on crate feature
json
only.Implementations
sourceimpl<'a, R> JsonLineReader<'a, R> where
R: 'a + MmapBytesReader,
impl<'a, R> JsonLineReader<'a, R> where
R: 'a + MmapBytesReader,
pub fn with_n_rows(self, num_rows: Option<usize>) -> Self
pub fn with_schema(self, schema: &'a Schema) -> Self
pub fn with_rechunk(self, rechunk: bool) -> Self
pub fn infer_schema_len(self, infer_schema_len: Option<usize>) -> Self
pub fn with_n_threads(self, n: Option<usize>) -> Self
pub fn with_path<P: Into<PathBuf>>(self, path: Option<P>) -> Self
sourcepub fn with_chunk_size(self, chunk_size: usize) -> Self
pub fn with_chunk_size(self, chunk_size: usize) -> Self
Sets the chunk size used by the parser. This influences performance
sourcepub fn low_memory(self, toggle: bool) -> Self
pub fn low_memory(self, toggle: bool) -> Self
Reduce memory consumption at the expense of performance
Trait Implementations
sourceimpl<'a, R> SerReader<R> for JsonLineReader<'a, R> where
R: MmapBytesReader,
impl<'a, R> SerReader<R> for JsonLineReader<'a, R> where
R: MmapBytesReader,
Auto Trait Implementations
impl<'a, R> RefUnwindSafe for JsonLineReader<'a, R> where
R: RefUnwindSafe,
impl<'a, R> Send for JsonLineReader<'a, R>
impl<'a, R> Sync for JsonLineReader<'a, R>
impl<'a, R> Unpin for JsonLineReader<'a, R> where
R: Unpin,
impl<'a, R> UnwindSafe for JsonLineReader<'a, R> where
R: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more