Struct datafusion_proto::generated::datafusion::ParquetOptions
source · pub struct ParquetOptions {Show 26 fields
pub enable_page_index: bool,
pub pruning: bool,
pub skip_metadata: bool,
pub pushdown_filters: bool,
pub reorder_filters: bool,
pub data_pagesize_limit: u64,
pub write_batch_size: u64,
pub writer_version: String,
pub allow_single_file_parallelism: bool,
pub maximum_parallel_row_group_writers: u64,
pub maximum_buffered_record_batches_per_stream: u64,
pub bloom_filter_on_read: bool,
pub bloom_filter_on_write: bool,
pub dictionary_page_size_limit: u64,
pub data_page_row_count_limit: u64,
pub max_row_group_size: u64,
pub created_by: String,
pub metadata_size_hint_opt: Option<MetadataSizeHintOpt>,
pub compression_opt: Option<CompressionOpt>,
pub dictionary_enabled_opt: Option<DictionaryEnabledOpt>,
pub statistics_enabled_opt: Option<StatisticsEnabledOpt>,
pub max_statistics_size_opt: Option<MaxStatisticsSizeOpt>,
pub column_index_truncate_length_opt: Option<ColumnIndexTruncateLengthOpt>,
pub encoding_opt: Option<EncodingOpt>,
pub bloom_filter_fpp_opt: Option<BloomFilterFppOpt>,
pub bloom_filter_ndv_opt: Option<BloomFilterNdvOpt>,
}Fields§
§enable_page_index: boolRegular fields
default = true
pruning: booldefault = true
skip_metadata: booldefault = true
pushdown_filters: booldefault = false
reorder_filters: booldefault = false
data_pagesize_limit: u64default = 1024 * 1024
write_batch_size: u64default = 1024
writer_version: Stringdefault = “1.0”
allow_single_file_parallelism: boolbool bloom_filter_enabled = 20; // default = false
default = true
maximum_parallel_row_group_writers: u64default = 1
maximum_buffered_record_batches_per_stream: u64default = 2
bloom_filter_on_read: booldefault = true
bloom_filter_on_write: booldefault = false
dictionary_page_size_limit: u64§data_page_row_count_limit: u64§max_row_group_size: u64§created_by: String§metadata_size_hint_opt: Option<MetadataSizeHintOpt>§compression_opt: Option<CompressionOpt>§dictionary_enabled_opt: Option<DictionaryEnabledOpt>§statistics_enabled_opt: Option<StatisticsEnabledOpt>§max_statistics_size_opt: Option<MaxStatisticsSizeOpt>§column_index_truncate_length_opt: Option<ColumnIndexTruncateLengthOpt>§encoding_opt: Option<EncodingOpt>§bloom_filter_fpp_opt: Option<BloomFilterFppOpt>§bloom_filter_ndv_opt: Option<BloomFilterNdvOpt>Trait Implementations§
source§impl Clone for ParquetOptions
impl Clone for ParquetOptions
source§fn clone(&self) -> ParquetOptions
fn clone(&self) -> ParquetOptions
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 ParquetOptions
impl Debug for ParquetOptions
source§impl Default for ParquetOptions
impl Default for ParquetOptions
source§impl Message for ParquetOptions
impl Message for ParquetOptions
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message to a buffer. Read more
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
Encodes the message to a newly allocated buffer.
source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message with a length-delimiter to a buffer. Read more
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Decodes an instance of the message from a buffer. Read more
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Decodes a length-delimited instance of the message from the buffer.
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into
self. Read moresource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.source§impl PartialEq for ParquetOptions
impl PartialEq for ParquetOptions
source§fn eq(&self, other: &ParquetOptions) -> bool
fn eq(&self, other: &ParquetOptions) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<&ParquetOptions> for ParquetOptions
impl TryFrom<&ParquetOptions> for ParquetOptions
§type Error = DataFusionError
type Error = DataFusionError
The type returned in the event of a conversion error.
source§impl TryFrom<&ParquetOptions> for ParquetOptions
impl TryFrom<&ParquetOptions> for ParquetOptions
§type Error = DataFusionError
type Error = DataFusionError
The type returned in the event of a conversion error.
impl StructuralPartialEq for ParquetOptions
Auto Trait Implementations§
impl Freeze for ParquetOptions
impl RefUnwindSafe for ParquetOptions
impl Send for ParquetOptions
impl Sync for ParquetOptions
impl Unpin for ParquetOptions
impl UnwindSafe for ParquetOptions
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> 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