pub struct WriteOptions {
pub write_statistics: bool,
pub version: Version,
pub compression: CompressionOptions,
pub data_pagesize_limit: Option<usize>,
}
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 for WriteOptions
impl PartialEq 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 StructuralPartialEq for WriteOptions
Auto Trait Implementations§
impl Freeze for WriteOptions
impl RefUnwindSafe for WriteOptions
impl Send for WriteOptions
impl Sync for WriteOptions
impl Unpin for WriteOptions
impl UnwindSafe for WriteOptions
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