pub struct ParquetOptions {Show 31 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 schema_force_view_types: bool,
pub binary_as_string: bool,
pub skip_arrow_metadata: 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 statistics_truncate_length_opt: Option<StatisticsTruncateLengthOpt>,
pub encoding_opt: Option<EncodingOpt>,
pub bloom_filter_fpp_opt: Option<BloomFilterFppOpt>,
pub bloom_filter_ndv_opt: Option<BloomFilterNdvOpt>,
pub coerce_int96_opt: Option<CoerceInt96Opt>,
}
Fields§
§enable_page_index: bool
Regular fields
default = true
pruning: bool
default = true
skip_metadata: bool
default = true
pushdown_filters: bool
default = false
reorder_filters: bool
default = false
data_pagesize_limit: u64
default = 1024 * 1024
write_batch_size: u64
default = 1024
writer_version: String
default = “1.0”
allow_single_file_parallelism: bool
bool bloom_filter_enabled = 20; // default = false
default = true
maximum_parallel_row_group_writers: u64
default = 1
maximum_buffered_record_batches_per_stream: u64
default = 2
bloom_filter_on_read: bool
default = true
bloom_filter_on_write: bool
default = false
schema_force_view_types: bool
default = false
binary_as_string: bool
default = false
skip_arrow_metadata: bool
default = 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>
§statistics_truncate_length_opt: Option<StatisticsTruncateLengthOpt>
§encoding_opt: Option<EncodingOpt>
§bloom_filter_fpp_opt: Option<BloomFilterFppOpt>
§bloom_filter_ndv_opt: Option<BloomFilterNdvOpt>
§coerce_int96_opt: Option<CoerceInt96Opt>
Trait Implementations§
Source§impl Clone for ParquetOptions
impl Clone for ParquetOptions
Source§fn clone(&self) -> ParquetOptions
fn clone(&self) -> ParquetOptions
Returns a duplicate 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§fn default() -> ParquetOptions
fn default() -> ParquetOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ParquetOptions
impl<'de> Deserialize<'de> for ParquetOptions
Source§fn deserialize<D>(
deserializer: D,
) -> Result<ParquetOptions, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<ParquetOptions, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
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(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
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(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self
. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
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§impl Serialize for ParquetOptions
impl Serialize for ParquetOptions
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl TryFrom<&ParquetOptions> for ParquetOptions
impl TryFrom<&ParquetOptions> for ParquetOptions
Source§type Error = DataFusionError
type Error = DataFusionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: &ParquetOptions,
) -> Result<ParquetOptions, <ParquetOptions as TryFrom<&ParquetOptions>>::Error>
fn try_from( value: &ParquetOptions, ) -> Result<ParquetOptions, <ParquetOptions as TryFrom<&ParquetOptions>>::Error>
Performs the conversion.
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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