pub struct ParquetWriteOptions {
pub compression: ParquetCompression,
pub statistics: StatisticsOptions,
pub row_group_size: Option<usize>,
pub data_page_size: 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_page_size: Option<usize>
if None
will be 1024^2 bytes
maintain_order: bool
maintain the order the data was processed
Implementations§
Source§impl ParquetWriteOptions
impl ParquetWriteOptions
pub fn to_writer<F>(&self, f: F) -> ParquetWriter<F>where
F: Write,
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§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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§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<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<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