pub trait SerReader<R>where
R: Read + Seek,{
fn new(reader: R) -> Self;
fn finish(self) -> PolarsResult<DataFrame>;
fn set_rechunk(self, _rechunk: bool) -> Self
where
Self: Sized,
{ ... }
}
Required Methods§
fn new(reader: R) -> Self
sourcefn finish(self) -> PolarsResult<DataFrame>
fn finish(self) -> PolarsResult<DataFrame>
Take the SerReader and return a parsed DataFrame.
Provided Methods§
sourcefn set_rechunk(self, _rechunk: bool) -> Selfwhere
Self: Sized,
fn set_rechunk(self, _rechunk: bool) -> Selfwhere
Self: Sized,
Rechunk to a single chunk after Reading file.
Implementors§
impl<'a, R> SerReader<R> for CsvReader<'a, R>where
R: MmapBytesReader + 'a,
Available on crate features
csv-file
or json
only.impl<'a, R> SerReader<R> for JsonLineReader<'a, R>where
R: MmapBytesReader,
Available on crate feature
json
only.impl<R> SerReader<R> for IpcStreamReader<R>where
R: Read + Seek,
Available on crate feature
ipc_streaming
and (crate features ipc
or ipc_streaming
) only.impl<R> SerReader<R> for JsonReader<R>where
R: MmapBytesReader,
Available on crate feature
json
only.impl<R: MmapBytesReader> SerReader<R> for IpcReader<R>
Available on crate feature
ipc
and (crate features ipc
or ipc_streaming
) only.impl<R: MmapBytesReader> SerReader<R> for ParquetReader<R>
Available on crate feature
parquet
only.