[−][src]Struct parquet::file::properties::WriterPropertiesBuilder
Writer properties builder.
Implementations
impl WriterPropertiesBuilder
[src]
pub fn build(self) -> WriterProperties
[src]
Finalizes the configuration and returns immutable writer properties struct.
pub fn set_writer_version(self, value: WriterVersion) -> Self
[src]
Sets writer version.
pub fn set_data_pagesize_limit(self, value: usize) -> Self
[src]
Sets data page size limit.
pub fn set_dictionary_pagesize_limit(self, value: usize) -> Self
[src]
Sets dictionary page size limit.
pub fn set_write_batch_size(self, value: usize) -> Self
[src]
Sets write batch size.
pub fn set_max_row_group_size(self, value: usize) -> Self
[src]
Sets max size for a row group.
pub fn set_created_by(self, value: String) -> Self
[src]
Sets "created by" property.
pub fn set_key_value_metadata(self, value: Option<Vec<KeyValue>>) -> Self
[src]
Sets "key_value_metadata" property.
pub fn set_encoding(self, value: Encoding) -> Self
[src]
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 dictionary encoding flag being set.
pub fn set_compression(self, value: Compression) -> Self
[src]
Sets compression codec for any column.
pub fn set_dictionary_enabled(self, value: bool) -> Self
[src]
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]
Sets flag to enable/disable statistics for any column.
pub fn set_max_statistics_size(self, value: usize) -> Self
[src]
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]
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 dictionary encoding flag being set.
pub fn set_column_compression(self, col: ColumnPath, value: Compression) -> Self
[src]
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]
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]
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]
self,
col: ColumnPath,
value: usize
) -> Self
Sets max size for statistics for a column. Takes precedence over globally defined settings.
Auto Trait Implementations
impl RefUnwindSafe for WriterPropertiesBuilder
impl Send for WriterPropertiesBuilder
impl Sync for WriterPropertiesBuilder
impl Unpin for WriterPropertiesBuilder
impl UnwindSafe for WriterPropertiesBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoRequest<T> for T
[src]
fn into_request(self) -> Request<T>
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,