[−][src]Struct parquet::file::properties::WriterPropertiesBuilder
Writer properties builder.
Methods
impl WriterPropertiesBuilder
[src]
impl WriterPropertiesBuilder
pub fn build(self) -> WriterProperties
[src]
pub fn build(self) -> WriterProperties
Finalizes the configuration and returns immutable writer properties struct.
pub fn set_writer_version(self, value: WriterVersion) -> Self
[src]
pub fn set_writer_version(self, value: WriterVersion) -> Self
Sets writer version.
pub fn set_data_pagesize_limit(self, value: usize) -> Self
[src]
pub fn set_data_pagesize_limit(self, value: usize) -> Self
Sets data page size limit.
pub fn set_dictionary_pagesize_limit(self, value: usize) -> Self
[src]
pub fn set_dictionary_pagesize_limit(self, value: usize) -> Self
Sets dictionary page size limit.
pub fn set_write_batch_size(self, value: usize) -> Self
[src]
pub fn set_write_batch_size(self, value: usize) -> Self
Sets write batch size.
pub fn set_max_row_group_size(self, value: usize) -> Self
[src]
pub fn set_max_row_group_size(self, value: usize) -> Self
Sets max size for a row group.
pub fn set_created_by(self, value: String) -> Self
[src]
pub fn set_created_by(self, value: String) -> Self
Sets "created by" property.
pub fn set_encoding(self, value: Encoding) -> Self
[src]
pub fn set_encoding(self, value: Encoding) -> Self
Sets encoding for any column.
If dictionary is not enabled, this is treated as a primary encoding for all columns. In case when dictionary is enabled for any column, this value is considered to be a fallback encoding for that column.
Panics if user tries to set dictionary encoding here, regardless of dictinoary encoding flag being set.
pub fn set_compression(self, value: Compression) -> Self
[src]
pub fn set_compression(self, value: Compression) -> Self
Sets compression codec for any column.
pub fn set_dictionary_enabled(self, value: bool) -> Self
[src]
pub fn set_dictionary_enabled(self, value: bool) -> Self
Sets flag to enable/disable dictionary encoding for any column.
Use this method to set dictionary encoding, instead of explicitly specifying
encoding in set_encoding
method.
pub fn set_statistics_enabled(self, value: bool) -> Self
[src]
pub fn set_statistics_enabled(self, value: bool) -> Self
Sets flag to enable/disable statistics for any column.
pub fn set_max_statistics_size(self, value: usize) -> Self
[src]
pub fn set_max_statistics_size(self, value: usize) -> Self
Sets max statistics size for any column. Applicable only if statistics are enabled.
pub fn set_column_encoding(self, col: ColumnPath, value: Encoding) -> Self
[src]
pub fn set_column_encoding(self, col: ColumnPath, value: Encoding) -> Self
Sets encoding for a column. Takes precedence over globally defined settings.
If dictionary is not enabled, this is treated as a primary encoding for this column. In case when dictionary is enabled for this column, either through global defaults or explicitly, this value is considered to be a fallback encoding for this column.
Panics if user tries to set dictionary encoding here, regardless of dictinoary encoding flag being set.
pub fn set_column_compression(self, col: ColumnPath, value: Compression) -> Self
[src]
pub fn set_column_compression(self, col: ColumnPath, value: Compression) -> Self
Sets compression codec for a column. Takes precedence over globally defined settings.
pub fn set_column_dictionary_enabled(self, col: ColumnPath, value: bool) -> Self
[src]
pub fn set_column_dictionary_enabled(self, col: ColumnPath, value: bool) -> Self
Sets flag to enable/disable dictionary encoding for a column. Takes precedence over globally defined settings.
pub fn set_column_statistics_enabled(self, col: ColumnPath, value: bool) -> Self
[src]
pub fn set_column_statistics_enabled(self, col: ColumnPath, value: bool) -> Self
Sets flag to enable/disable statistics for a column. Takes precedence over globally defined settings.
pub fn set_column_max_statistics_size(
self,
col: ColumnPath,
value: usize
) -> Self
[src]
pub fn set_column_max_statistics_size(
self,
col: ColumnPath,
value: usize
) -> Self
Sets max size for statistics for a column. Takes precedence over globally defined settings.
Auto Trait Implementations
impl Send for WriterPropertiesBuilder
impl Send for WriterPropertiesBuilder
impl Sync for WriterPropertiesBuilder
impl Sync for WriterPropertiesBuilder
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
try_from
)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Gets the TypeId
of self
. Read more
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
try_from
)Performs the conversion.
impl<T, U> TryInto for T where
U: TryFrom<T>,
impl<T, U> TryInto for T where
U: TryFrom<T>,
impl<E> SpecializationError for E
[src]
impl<E> SpecializationError for E
fn not_found<S, T>(trait_name: &'static str, method_name: &'static str) -> E where
T: ?Sized,
[src]
fn not_found<S, T>(trait_name: &'static str, method_name: &'static str) -> E where
T: ?Sized,
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Create an error for a missing method specialization. Defaults to panicking with type, trait & method names. S
is the encoder/decoder state type, T
is the type being encoded/decoded, and the arguments are the names of the trait and method that should've been overridden. Read more
impl<T> Erased for T
[src]
impl<T> Erased for T
impl<T> Send for T where
T: ?Sized,
[src]
impl<T> Send for T where
T: ?Sized,
impl<T> Sync for T where
T: ?Sized,
[src]
impl<T> Sync for T where
T: ?Sized,
impl<T> Erased for T
impl<T> Erased for T