Enum Table Copy item path Source pub enum Table {
Nation,
Region,
Part,
Supplier,
Partsupp,
Customer,
Orders,
Lineitem,
}Expand description TPC-H table types
Represents the 8 tables in the TPC-H benchmark schema.
Tables are ordered by size (smallest to largest at SF=1).
Part table (200,000 rows at SF=1)
Supplier table (10,000 rows at SF=1)
Part-Supplier relationship table (800,000 rows at SF=1)
Customer table (150,000 rows at SF=1)
Orders table (1,500,000 rows at SF=1)
Line item table (6,000,000 rows at SF=1)
Performs copy-assignment from
source.
Read more Formats the value using the given formatter.
Read more Formats the value using the given formatter.
Read more Returns the table enum value from the given string full name or abbreviation
The original dbgen tool allows some abbreviations to mean two different tables
like ‘p’ which aliases to both ‘part’ and ‘partsupp’. This implementation does
not support this since it just adds unnecessary complexity and confusion so we
only support the exclusive abbreviations.
The associated error which can be returned from parsing.
Compares and returns the maximum of two values.
Read more Compares and returns the minimum of two values.
Read more Restrict a value to a certain interval.
Read more 🔬 This is a nightly-only experimental API. (clamp_to)
Restrict a value to a certain range.
Read more This method returns an ordering between
self and
other values if one exists.
Read more Tests less than (for
self and
other) and is used by the
< operator.
Read more Tests less than or equal to (for
self and
other) and is used by the
<= operator.
Read more Tests greater than (for
self and
other) and is used by the
>
operator.
Read more Tests greater than or equal to (for
self and
other) and is used by
the
>= operator.
Read more Immutably borrows from an owned value.
Read more Mutably borrows from an owned value.
Read more 🔬 This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from
self to
dest.
Read more Checks if this value is equivalent to the given key.
Read more Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
From <T> for U chooses to do.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more Uses borrowed data to replace owned data, usually by cloning.
Read more Converts the given value to a
String.
Read more The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.