pub(crate) struct Args {Show 15 fields
pub(crate) input: String,
pub(crate) output: String,
pub(crate) compression: Option<CompressionArgs>,
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) max_statistics_size: Option<usize>,
pub(crate) dictionary_page_size_limit: Option<usize>,
pub(crate) bloom_filter_enabled: Option<bool>,
pub(crate) bloom_filter_fpp: Option<f64>,
pub(crate) bloom_filter_ndv: Option<u64>,
pub(crate) dictionary_enabled: Option<bool>,
pub(crate) statistics_enabled: Option<EnabledStatisticsArgs>,
pub(crate) writer_version: Option<WriterVersionArgs>,
pub(crate) coerce_types: Option<bool>,
}
Fields§
§input: String
Path to input parquet file.
output: String
Path to output parquet file.
compression: Option<CompressionArgs>
Compression used.
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.
max_statistics_size: Option<usize>
Sets max statistics size for any column.
Applicable only if statistics are enabled.
dictionary_page_size_limit: Option<usize>
Sets best effort maximum dictionary page size, in bytes.
bloom_filter_enabled: Option<bool>
Sets whether bloom filter is enabled for any column.
bloom_filter_fpp: Option<f64>
Sets bloom filter false positive probability (fpp) for any column.
bloom_filter_ndv: Option<u64>
Sets number of distinct values (ndv) for bloom filter for any column.
dictionary_enabled: Option<bool>
Sets flag to enable/disable dictionary encoding for any column.
statistics_enabled: Option<EnabledStatisticsArgs>
Sets flag to enable/disable statistics for any column.
writer_version: Option<WriterVersionArgs>
Sets writer version.
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
.Source§impl Parser for Args
impl Parser for Args
§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
§fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>
fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>
Auto Trait Implementations§
impl Freeze for Args
impl RefUnwindSafe for Args
impl Send for Args
impl Sync for Args
impl Unpin for Args
impl UnwindSafe for Args
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
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>
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>
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