Struct generate::CmdPkFkJoin
source · [−]pub(crate) struct CmdPkFkJoin {
pub(crate) data_set: Option<ArgDataSet>,
pub(crate) no_compress: bool,
pub(crate) tuple_bytes: ArgTupleBytes,
pub(crate) distribution: ArgDistribution,
pub(crate) zipf_exponent: Option<f64>,
pub(crate) selectivity: u32,
pub(crate) file_type: ArgFileType,
pub(crate) inner_rel_path: PathBuf,
pub(crate) outer_rel_path: PathBuf,
pub(crate) inner_rel_tuples: Option<usize>,
pub(crate) outer_rel_tuples: Option<usize>,
}
Fields
data_set: Option<ArgDataSet>
Generate a popular data set
no_compress: bool
Enable gzip compression
tuple_bytes: ArgTupleBytes
Set the tuple size (bytes)
distribution: ArgDistribution
Outer relation’s data distribution
zipf_exponent: Option<f64>
Zipf exponent for Zipf-sampled outer relations
selectivity: u32
Selectivity of the join, in percent
file_type: ArgFileType
Set the output file type
inner_rel_path: PathBuf
Inner relation output file
outer_rel_path: PathBuf
Outer relation output file
inner_rel_tuples: Option<usize>
Inner relation size (tuples)
outer_rel_tuples: Option<usize>
Outer relation size (tuples)
Trait Implementations
sourceimpl StructOpt for CmdPkFkJoin
impl StructOpt for CmdPkFkJoin
sourcefn from_clap(matches: &ArgMatches<'_>) -> Self
fn from_clap(matches: &ArgMatches<'_>) -> Self
Creates the struct from clap::ArgMatches
. It cannot fail
with a parameter generated by clap
by construction. Read more
fn from_args() -> Self
fn from_args() -> Self
Gets the struct from the command line arguments. Print the error message and quit the program in case of failure. Read more
fn from_iter<I>(iter: I) -> Self where
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
fn from_iter<I>(iter: I) -> Self where
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
Gets the struct from any iterator such as a Vec
of your making.
Print the error message and quit the program in case of failure. Read more
fn from_iter_safe<I>(iter: I) -> Result<Self, Error> where
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
fn from_iter_safe<I>(iter: I) -> Result<Self, Error> where
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
Gets the struct from any iterator such as a Vec
of your making. Read more
Auto Trait Implementations
impl RefUnwindSafe for CmdPkFkJoin
impl Send for CmdPkFkJoin
impl Sync for CmdPkFkJoin
impl Unpin for CmdPkFkJoin
impl UnwindSafe for CmdPkFkJoin
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more