pub struct WriteOptions {
pub write_statistics: bool,
pub version: Version,
pub compression: CompressionOptions,
pub data_pagesize_limit: Option<usize>,
}
Available on crate feature
io_parquet
only.Expand description
Currently supported options to write to parquet
Fields§
§write_statistics: bool
Whether to write statistics
version: Version
The page and file version to use
compression: CompressionOptions
The compression to apply to every page
data_pagesize_limit: Option<usize>
The size to flush a page, defaults to 1024 * 1024 if None
Trait Implementations§
source§impl Clone for WriteOptions
impl Clone for WriteOptions
source§fn clone(&self) -> WriteOptions
fn clone(&self) -> WriteOptions
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 WriteOptions
impl Debug for WriteOptions
source§impl PartialEq<WriteOptions> for WriteOptions
impl PartialEq<WriteOptions> for WriteOptions
source§fn eq(&self, other: &WriteOptions) -> bool
fn eq(&self, other: &WriteOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for WriteOptions
impl Eq for WriteOptions
impl StructuralEq for WriteOptions
impl StructuralPartialEq for WriteOptions
Auto Trait Implementations§
impl RefUnwindSafe for WriteOptions
impl Send for WriteOptions
impl Sync for WriteOptions
impl Unpin for WriteOptions
impl UnwindSafe for WriteOptions
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.