pub(crate) struct Args {Show 21 fields
pub(crate) input: String,
pub(crate) output: String,
pub(crate) compression: Option<CompressionArgs>,
pub(crate) compression_level: Option<u32>,
pub(crate) encoding: Option<EncodingArgs>,
pub(crate) dictionary_enabled: Option<bool>,
pub(crate) dictionary_page_size_limit: Option<usize>,
pub(crate) max_row_group_size: Option<usize>,
pub(crate) data_page_row_count_limit: Option<usize>,
pub(crate) data_page_size_limit: Option<usize>,
pub(crate) statistics_truncate_length: Option<usize>,
pub(crate) column_index_truncate_length: Option<usize>,
pub(crate) write_page_header_statistics: Option<bool>,
pub(crate) bloom_filter_enabled: Option<bool>,
pub(crate) bloom_filter_fpp: Option<f64>,
pub(crate) bloom_filter_ndv: Option<u64>,
pub(crate) bloom_filter_position: Option<BloomFilterPositionArgs>,
pub(crate) statistics_enabled: Option<EnabledStatisticsArgs>,
pub(crate) writer_version: Option<WriterVersionArgs>,
pub(crate) write_batch_size: Option<usize>,
pub(crate) coerce_types: Option<bool>,
}Fields§
§input: StringPath to input parquet file.
output: StringPath to output parquet file.
compression: Option<CompressionArgs>Compression used for all columns.
compression_level: Option<u32>Compression level for gzip/brotli/zstd.
encoding: Option<EncodingArgs>Encoding used for all columns, if dictionary is not enabled.
dictionary_enabled: Option<bool>Sets flag to enable/disable dictionary encoding for all columns.
dictionary_page_size_limit: Option<usize>Sets best effort maximum dictionary page size, in bytes.
max_row_group_size: Option<usize>Sets maximum number of rows in a row group.
data_page_row_count_limit: Option<usize>Sets best effort maximum number of rows in a data page.
data_page_size_limit: Option<usize>Sets best effort maximum size of a data page in bytes.
statistics_truncate_length: Option<usize>Sets the max length of min/max statistics in row group and data page header statistics for all columns.
Applicable only if statistics are enabled.
column_index_truncate_length: Option<usize>Sets the max length of min/max statistics in the column index.
Applicable only if statistics are enabled.
write_page_header_statistics: Option<bool>Write statistics to the data page headers?
Setting this true will also enable page level statistics.
bloom_filter_enabled: Option<bool>Sets whether bloom filter is enabled for all columns.
bloom_filter_fpp: Option<f64>Sets bloom filter false positive probability (fpp) for all columns.
bloom_filter_ndv: Option<u64>Sets number of distinct values (ndv) for bloom filter for all columns.
bloom_filter_position: Option<BloomFilterPositionArgs>Sets the position of bloom filter
statistics_enabled: Option<EnabledStatisticsArgs>Sets flag to enable/disable statistics for all columns.
writer_version: Option<WriterVersionArgs>Sets writer version.
write_batch_size: Option<usize>Sets write batch size.
coerce_types: Option<bool>Sets whether to coerce Arrow types to match Parquet specification
Trait Implementations§
Source§impl Args for Args
impl Args for Args
Source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
ArgGroup::id][crate::ArgGroup::id] for this set of argumentsSource§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command] so it can instantiate self via
[FromArgMatches::update_from_arg_matches_mut] Read moreSource§impl FromArgMatches for Args
impl FromArgMatches for Args
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.