Uses of Class
io.bloviate.gen.AbstractDataGenerator
Packages that use AbstractDataGenerator
-
Uses of AbstractDataGenerator in io.bloviate.datafaker
Subclasses of AbstractDataGenerator in io.bloviate.datafakerModifier and TypeClassDescriptionclassfinal classEmits one field of aRowContext's per-row entity. -
Uses of AbstractDataGenerator in io.bloviate.gen
Subclasses of AbstractDataGenerator in io.bloviate.genModifier and TypeClassDescriptionclassGeneratesBigDecimalvalues sized to a column's declared precision and scale using the seeded random source, so a given seed yields a reproducible sequence.classGenerates a single bit as anIntegerthat is either0or1, chosen uniformly using the seeded random source (so a given seed yields a reproducible sequence).classGenerates a string of'0'and'1'characters for SQLBIT/VARBITcolumns, e.g.classGenerator for Boolean values.classGenerates an array of randomBytes using the seeded random source, so a given seed yields a reproducible sequence.classGenerates a single lowercase ASCII letter ('a'through'z') chosen uniformly using the seeded random source, so a given seed yields a reproducible sequence.classEmits a parent table's "number of children" column under variable parent-child cardinality: for the k-th row (0-based) it returnscardinality.count(k)(for example TPC-C'so_ol_cnt).classEmits one component of a child table's composite key when each parent has a variable number of children (seeChildCardinality), which the fixed-cardinalityCompositeKeyComponentGeneratorcannot express.classGenerates IPv4 CIDR network specifications of the forma.b.c.0/24.classGenerates one component (dimension) of a row-ordered cartesian product, which is what is needed to populate composite primary/foreign keys densely and without collisions.classGenerates the current timestamp at the moment of generation.classGenerates randomDatevalues drawn uniformly from a millisecond instant in the half-open range[start, end)(start inclusive, end exclusive).classGeneratesdoublevalues drawn uniformly from the half-open range[startInclusive, endExclusive)using the seeded random source, so a given seed yields a reproducible sequence.classGeneratesfloatvalues drawn uniformly from the half-open range[startInclusive, endExclusive)using the seeded random source, so a given seed yields a reproducible sequence.classEmits a deterministic random permutation of[start, start + groupSize)within each consecutive run ofgroupSizerows, advancing to a fresh permutation for the next group.classPopulates a column only for the firstprefixSizerows of each consecutive group ofgroupSizerows, emittingnullfor the remainder.classGenerates IPv4 host addresses as a dotted-quadString, e.g.classGenerates randomInstantvalues drawn uniformly from a millisecond instant in the half-open range[start, end)(start inclusive, end exclusive).classGenerates a fixed-lengthInteger[]whose elements are unbounded randomintvalues, bound to JDBC arrays of SQL typeINTEGER.classGeneratesintvalues drawn uniformly from the half-open range[startInclusive, endExclusive)using the seeded random source, so a given seed yields a reproducible sequence.classGenerates time spans as aStringin PostgreSQLintervalinput form,years-months days hours:minutes:seconds, e.g.classGenerator for JSON / JSONB columns.classGenerateslongvalues drawn uniformly from the half-open range[startInclusive, endExclusive)using the seeded random source, so a given seed yields a reproducible sequence.classGenerates MAC addresses as colon-separated hex octets, e.g.classGeneratesdoublevalues from a normal (Gaussian) distribution with the configured mean and standard deviation, clamped to the inclusive range[min, max].classGeneratesintvalues from a normal (Gaussian) distribution with the configured mean and standard deviation, rounded to the nearest integer and clamped to the inclusive range[min, max].classGenerates aBigDecimaldrawn uniformly from the half-open range[startInclusive, endExclusive)and rounded (HALF_UP) to a fixedscale.classGenerates a monotonically increasing sequence of integers over the inclusive range[startInclusive, endInclusive], wrapping back to the start after the end is emitted.classGeneratesshortvalues drawn uniformly from the half-open range[startInclusive, endExclusive)using the seeded random source, so a given seed yields a reproducible sequence.classGenerates fixed-length random strings.classclassGenerator for SQLBLOB(binary large object) columns.classGenerator for SQLCLOB(character large object) columns.classGenerates randomDatevalues for binding to JDBCDATEcolumns, drawn uniformly from a millisecond instant in the half-open range[start, end)(start inclusive, end exclusive).classGenerator for SQLSTRUCT(structured / user-defined type) columns.classGenerates randomTimevalues for binding to JDBCTIMEcolumns, drawn uniformly from a millisecond instant in the half-open range[start, end)(start inclusive, end exclusive).classGenerates randomTimestampvalues for binding to JDBCTIMESTAMPcolumns, drawn uniformly from a millisecond instant in the half-open range[start, end)(start inclusive, end exclusive).classAlways generates the same configuredBigDecimalvalue.classAlways generates the same configured double value.classAlways generates the same configured float value.classAlways generates the same configured integer value.classAlways generates the same configured string value.classGenerates a fixed-lengthString[]whose elements are random alphabetic strings, bound to JDBC arrays of SQL typeVARCHAR.classGenerator for UUID (Universally Unique Identifier) values.classGenerates strings whose length varies randomly within an inclusive[minLength, maxLength]range.classDraws from a fixed set of values according to per-value weights — a categorical distribution.classGenerates small well-formed XML documents, e.g.classGenerates integers from a Zipfian (power-law) distribution oversizeconsecutive values starting atstart: rank k (1-based) has probability proportional to1 / k^exponent, so the lowest values are by far the most frequent and the tail is long and thin. -
Uses of AbstractDataGenerator in io.bloviate.gen.tpcc
Subclasses of AbstractDataGenerator in io.bloviate.gen.tpccModifier and TypeClassDescriptionclassGenerates 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.classGenerates TPC-C customer last names (clause 4.3.2.3): three concatenated syllables selected from a fixed set by a number in[0, 999].classGenerates 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.classGeneratesol_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.classGenerates TPC-C zip codes (clause 4.3.2.7): four random digits followed by the constant suffix "11111", producing a 9-character value.