Struct polars_io::parquet::write::ParquetWriteOptions
source · pub struct ParquetWriteOptions {
pub compression: ParquetCompression,
pub statistics: StatisticsOptions,
pub row_group_size: Option<usize>,
pub data_pagesize_limit: Option<usize>,
pub maintain_order: bool,
}
Available on crate feature
parquet
only.Fields§
§compression: ParquetCompression
Data page compression
statistics: StatisticsOptions
Compute and write column statistics.
row_group_size: Option<usize>
If None
will be all written to a single row group.
data_pagesize_limit: Option<usize>
if None
will be 1024^2 bytes
maintain_order: bool
maintain the order the data was processed
Trait Implementations§
source§impl Clone for ParquetWriteOptions
impl Clone for ParquetWriteOptions
source§fn clone(&self) -> ParquetWriteOptions
fn clone(&self) -> ParquetWriteOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ParquetWriteOptions
impl Debug for ParquetWriteOptions
source§impl Default for ParquetWriteOptions
impl Default for ParquetWriteOptions
source§fn default() -> ParquetWriteOptions
fn default() -> ParquetWriteOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ParquetWriteOptions
impl<'de> Deserialize<'de> for ParquetWriteOptions
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for ParquetWriteOptions
impl Hash for ParquetWriteOptions
source§impl PartialEq for ParquetWriteOptions
impl PartialEq for ParquetWriteOptions
source§fn eq(&self, other: &ParquetWriteOptions) -> bool
fn eq(&self, other: &ParquetWriteOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ParquetWriteOptions
impl Serialize for ParquetWriteOptions
impl Copy for ParquetWriteOptions
impl Eq for ParquetWriteOptions
impl StructuralPartialEq for ParquetWriteOptions
Auto Trait Implementations§
impl Freeze for ParquetWriteOptions
impl RefUnwindSafe for ParquetWriteOptions
impl Send for ParquetWriteOptions
impl Sync for ParquetWriteOptions
impl Unpin for ParquetWriteOptions
impl UnwindSafe for ParquetWriteOptions
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more