Package io.bloviate.gen.tpcc
package io.bloviate.gen.tpcc
-
ClassesClassDescriptionGenerates the TPC-C customer credit rating (clause 4.3.2.7): "GC" (good credit) 90% of the time and "BC" (bad credit) 10% of the time.Builds
CreditGeneratorinstances.Generates TPC-C customer last names (clause 4.3.2.3): three concatenated syllables selected from a fixed set by a number in[0, 999].BuildsCustomerLastNameGeneratorinstances.Generates the TPC-C i_data / s_data values (clause 4.3.3.1): a random alphabetic string of length 26..50 that, 10% of the time, contains the literal "ORIGINAL" at a random position.BuildsDataColumnGeneratorinstances.Generatesol_delivery_dfor theorder_linetable under variable order-line cardinality: a delivery timestamp for the lines of delivered orders, andNULLfor the lines of the most recent (undelivered) orders.BuildsOrderLineDeliveryDateGeneratorinstances.Builds a complete set ofTableConfigurations for the TPC-C schema (seecreate_tpcc.*.sql), suitable for passing to aDatabaseConfiguration.Utilities implementing pieces of the TPC-C specification.Generates TPC-C zip codes (clause 4.3.2.7): four random digits followed by the constant suffix "11111", producing a 9-character value.BuildsZipCodeGeneratorinstances.