pub struct Distributions { /* private fields */ }Expand description
Distributions wraps all TPC-H distributions and provides methods to access them.
Implementations§
Source§impl Distributions
impl Distributions
pub fn try_load_default() -> Result<Self>
Sourcepub fn static_default() -> &'static Distributions
pub fn static_default() -> &'static Distributions
Returns a static reference to the default distributions.
Sourcepub fn adjectives(&self) -> &Distribution
pub fn adjectives(&self) -> &Distribution
Returns the adjectives distribution.
Sourcepub fn adverbs(&self) -> &Distribution
pub fn adverbs(&self) -> &Distribution
Returns the adverbs distribution.
Sourcepub fn articles(&self) -> &Distribution
pub fn articles(&self) -> &Distribution
Returns the articles distribution.
Sourcepub fn auxiliaries(&self) -> &Distribution
pub fn auxiliaries(&self) -> &Distribution
Returns the auxillaries distribution.
P.S: The correct spelling is auxiliaries which is what we use.
Sourcepub fn grammar(&self) -> &Distribution
pub fn grammar(&self) -> &Distribution
Returns the grammar distribution.
Sourcepub fn category(&self) -> &Distribution
pub fn category(&self) -> &Distribution
Returns the category distribution.
Sourcepub fn market_segments(&self) -> &Distribution
pub fn market_segments(&self) -> &Distribution
Returns the msegmnt distribution.
Sourcepub fn nations(&self) -> &Distribution
pub fn nations(&self) -> &Distribution
Returns the nations distribution.
Sourcepub fn noun_phrase(&self) -> &Distribution
pub fn noun_phrase(&self) -> &Distribution
Returns the noun_phrases distribution.
Sourcepub fn nouns(&self) -> &Distribution
pub fn nouns(&self) -> &Distribution
Returns the nouns distribution.
Sourcepub fn order_priority(&self) -> &Distribution
pub fn order_priority(&self) -> &Distribution
Returns the orders_priority distribution.
Sourcepub fn part_colors(&self) -> &Distribution
pub fn part_colors(&self) -> &Distribution
Returns the part_colors distribution.
Sourcepub fn part_containers(&self) -> &Distribution
pub fn part_containers(&self) -> &Distribution
Returns the part_containers distribution.
Sourcepub fn part_types(&self) -> &Distribution
pub fn part_types(&self) -> &Distribution
Returns the part_types distribution.
Sourcepub fn prepositions(&self) -> &Distribution
pub fn prepositions(&self) -> &Distribution
Returns the prepositions distribution.
Sourcepub fn regions(&self) -> &Distribution
pub fn regions(&self) -> &Distribution
Returns the regions distribution.
Sourcepub fn return_flags(&self) -> &Distribution
pub fn return_flags(&self) -> &Distribution
Returns the return_flags distribution.
Sourcepub fn ship_instructions(&self) -> &Distribution
pub fn ship_instructions(&self) -> &Distribution
Returns the ship_instructions distribution.
Sourcepub fn ship_modes(&self) -> &Distribution
pub fn ship_modes(&self) -> &Distribution
Returns the ship_modes distribution.
Sourcepub fn terminators(&self) -> &Distribution
pub fn terminators(&self) -> &Distribution
Returns the terminators distribution.
pub fn verb_phrase(&self) -> &Distribution
Sourcepub fn verbs(&self) -> &Distribution
pub fn verbs(&self) -> &Distribution
Returns the verbs distribution.
Trait Implementations§
Source§impl Clone for Distributions
impl Clone for Distributions
Source§fn clone(&self) -> Distributions
fn clone(&self) -> Distributions
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more