Struct parquet::file::properties::WriterProperties [−][src]
pub struct WriterProperties { /* fields omitted */ }
Expand description
Writer properties.
All properties except the key-value metadata are immutable,
use WriterPropertiesBuilder
to assemble these properties.
Implementations
impl WriterProperties
[src]
impl WriterProperties
[src]pub fn builder() -> WriterPropertiesBuilder
[src]
pub fn builder() -> WriterPropertiesBuilder
[src]Returns builder for writer properties with default values.
pub fn data_pagesize_limit(&self) -> usize
[src]
pub fn data_pagesize_limit(&self) -> usize
[src]Returns data page size limit.
pub fn dictionary_pagesize_limit(&self) -> usize
[src]
pub fn dictionary_pagesize_limit(&self) -> usize
[src]Returns dictionary page size limit.
pub fn write_batch_size(&self) -> usize
[src]
pub fn write_batch_size(&self) -> usize
[src]Returns configured batch size for writes.
When writing a batch of data, this setting allows to split it internally into smaller batches so we can better estimate the size of a page currently being written.
pub fn max_row_group_size(&self) -> usize
[src]
pub fn max_row_group_size(&self) -> usize
[src]Returns max size for a row group.
pub fn writer_version(&self) -> WriterVersion
[src]
pub fn writer_version(&self) -> WriterVersion
[src]Returns configured writer version.
pub fn created_by(&self) -> &str
[src]
pub fn created_by(&self) -> &str
[src]Returns created_by
string.
pub fn key_value_metadata(&self) -> &Option<Vec<KeyValue>>
[src]
pub fn key_value_metadata(&self) -> &Option<Vec<KeyValue>>
[src]Returns key_value_metadata
KeyValue pairs.
pub fn dictionary_data_page_encoding(&self) -> Encoding
[src]
pub fn dictionary_data_page_encoding(&self) -> Encoding
[src]Returns encoding for a data page, when dictionary encoding is enabled. This is not configurable.
pub fn dictionary_page_encoding(&self) -> Encoding
[src]
pub fn dictionary_page_encoding(&self) -> Encoding
[src]Returns encoding for dictionary page, when dictionary encoding is enabled. This is not configurable.
pub fn encoding(&self, col: &ColumnPath) -> Option<Encoding>
[src]
pub fn encoding(&self, col: &ColumnPath) -> Option<Encoding>
[src]Returns encoding for a column, if set. In case when dictionary is enabled, returns fallback encoding.
If encoding is not set, then column writer will choose the best encoding based on the column type.
pub fn compression(&self, col: &ColumnPath) -> Compression
[src]
pub fn compression(&self, col: &ColumnPath) -> Compression
[src]Returns compression codec for a column.
pub fn dictionary_enabled(&self, col: &ColumnPath) -> bool
[src]
pub fn dictionary_enabled(&self, col: &ColumnPath) -> bool
[src]Returns true
if dictionary encoding is enabled for a column.
pub fn statistics_enabled(&self, col: &ColumnPath) -> bool
[src]
pub fn statistics_enabled(&self, col: &ColumnPath) -> bool
[src]Returns true
if statistics are enabled for a column.
pub fn max_statistics_size(&self, col: &ColumnPath) -> usize
[src]
pub fn max_statistics_size(&self, col: &ColumnPath) -> usize
[src]Returns max size for statistics. Only applicable if statistics are enabled.
Trait Implementations
impl Clone for WriterProperties
[src]
impl Clone for WriterProperties
[src]fn clone(&self) -> WriterProperties
[src]
fn clone(&self) -> WriterProperties
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl RefUnwindSafe for WriterProperties
impl Send for WriterProperties
impl Sync for WriterProperties
impl Unpin for WriterProperties
impl UnwindSafe for WriterProperties
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,