pub trait SerReader<R>where
R: Read,{
// Required methods
fn new(reader: R) -> Self;
fn finish(self) -> PolarsResult<DataFrame>;
// Provided method
fn set_rechunk(self, _rechunk: bool) -> Self
where Self: Sized { ... }
}
Required Methods§
Provided Methods§
Sourcefn set_rechunk(self, _rechunk: bool) -> Selfwhere
Self: Sized,
fn set_rechunk(self, _rechunk: bool) -> Selfwhere
Self: Sized,
Make sure that all columns are contiguous in memory by aggregating the chunks into a single array.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<R> SerReader<R> for AvroReader<R>
Available on crate feature
avro
only.impl<R> SerReader<R> for CsvReader<R>where
R: MmapBytesReader,
Available on crate features
csv
or json
only.impl<R> SerReader<R> for IpcStreamReader<R>where
R: Read,
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> SerReader<R> for JsonLineReader<'_, 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.