All Classes and Interfaces
Class
Description
Abstract base class for data generator builders.
Base
DatabaseSupport that maps columns to generators through a
JDBCType-keyed registry of GeneratorFactory entries.Abstract base class providing common functionality for data generators.
Generates
BigDecimal values sized to a column's declared precision and scale using
the seeded random source, so a given seed yields a reproducible sequence.Fluent builder for
BigDecimalGenerator.Generates a single bit as an
Integer that is either 0 or 1, chosen
uniformly using the seeded random source (so a given seed yields a reproducible sequence).Fluent builder for
BitGenerator.Generates a string of
'0' and '1' characters for SQL BIT / VARBIT
columns, e.g.Fluent builder for
BitStringGenerator.Fills a started
JdbcDatabaseContainer with Bloviate-generated data — the public form of
the pattern Bloviate uses in its own tests.Configures and runs a fill against a
JdbcDatabaseContainer.JUnit Jupiter extension that fills a test database before each test, driven by
FillDatabase.Generator for Boolean values.
Builder for creating BooleanGenerator instances.
Builder interface for creating data generator instances.
An opaque token returned by
DatabaseSupport.disableConstraints(Connection, Database) describing what was disabled,
so DatabaseSupport.enableConstraints(Connection, Database, BulkLoadHandle) can restore it.How
DatabaseFiller orders table fills relative to foreign-key dependencies.The available ordering modes.
Signals that a
DatabaseSupport could not disable constraint enforcement for an
UNORDERED_BULK fill — for example, the connecting role lacks the privilege to set
PostgreSQL's session_replication_role.Generates an array of random
Bytes using the seeded random source, so a given seed
yields a reproducible sequence.Fluent builder for
ByteGenerator.Generates a single lowercase ASCII letter (
'a' through 'z') chosen uniformly
using the seeded random source, so a given seed yields a reproducible sequence.Fluent builder for
CharacterGenerator.Deterministic mapping from a parent row's global (row-major) index to the number
of child rows it owns, drawn from the inclusive range
[minChildren, maxChildren].Emits a parent table's "number of children" column under variable parent-child
cardinality: for the k-th row (0-based) it returns
cardinality.count(k) (for example TPC-C's
o_ol_cnt).Builder for
ChildCountGenerator.Emits one component of a child table's composite key when each parent has a
variable number of children (see
ChildCardinality), which the
fixed-cardinality CompositeKeyComponentGenerator cannot express.Builder for
ChildKeyComponentGenerator.Generates IPv4 CIDR network specifications of the form
a.b.c.0/24.Fluent builder for
CidrGenerator.CockroachDB-specific
DatabaseSupport.Represents a database column with its complete metadata.
Overrides the data generator used for a single column, replacing the
generator that would otherwise be auto-detected from the column's JDBC type.
A value constraint captured for a column — the machine-readable part of a
CHECK constraint
or an ENUM/domain's allowed values — so the fill engine can generate values that satisfy it
instead of values a constraint would reject (issue #479).Defines a column for flat file generation.
Builds the
DataGenerator used to override generation for a single column.How a
TableFiller commits the rows it inserts.The available commit modes.
Generates one component (dimension) of a row-ordered cartesian product, which
is what is needed to populate composite primary/foreign keys densely and
without collisions.
Builder for
CompositeKeyComponentGenerator.Generates 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
CreditGenerator instances.FileDefinition for comma-delimited (CSV) output.Generates the current timestamp at the moment of generation.
Fluent builder for
CurrentSqlTimestampGenerator.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].Builds
CustomerLastNameGenerator instances.Represents a database instance with its metadata and contained tables.
Configuration settings for database filling operations.
Main entry point for filling database tables with generated data.
Builder for constructing DatabaseFiller instances.
Database-specific support interface for data generation and SQL handling.
Utility class for extracting database metadata through JDBC.
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.
Builds
DataColumnGenerator instances.A
GeneratorPlugin that maps common column names to realistic
Datafaker providers, so an email VARCHAR gets a
plausible email instead of random text.Core interface for generating test data for database columns.
Generates random
Date values drawn uniformly from a millisecond instant in the
half-open range [start, end) (start inclusive, end exclusive).Builder for
DateGenerator instances.Fallback
DatabaseSupport for generic or unknown JDBC databases.Ready-made
ColumnGeneratorFactories for non-uniform value
distributions, so a column can opt into a distribution without writing a generator factory:Generates
double values drawn uniformly from the half-open range
[startInclusive, endExclusive) using the seeded random source, so a given seed
yields a reproducible sequence.Fluent builder for
DoubleGenerator.Abstract base class for defining file format specifications.
Generates output files from a set of column definitions.
Enumeration of supported file types for data export.
Contract for components that populate a target with generated data.
Declaratively fills a test database with Bloviate-generated data before each test.
Marks the field
BloviateExtension should fill when FillDatabase is applied.Generator for creating flat files (CSV, TSV, pipe-delimited) with synthetic data.
Builds a
FlatFileGenerator, defaulting to CSV output and 1000 rows with no columns.Generates
float values drawn uniformly from the half-open range
[startInclusive, endExclusive) using the seeded random source, so a given seed
yields a reproducible sequence.Fluent builder for
FloatGenerator.A foreign-key relationship: the columns of one table that reference the
PrimaryKey of
another.Builds the
DataGenerator used for a column of a particular JDBC type.Service-provider interface that lets a jar contribute custom generator rules to a
GeneratorRegistry without subclassing DatabaseSupport.A user-facing registry of custom
GeneratorFactory rules that lets callers override
data generation without subclassing DatabaseSupport.Builds an immutable
GeneratorRegistry.A real, internally consistent geographic tuple for one row: the
city, state
(and stateAbbreviation), zip, areaCode, and country all belong
together (a real city in its real state with a valid local zip and area code) — not "Springfield,
WY 90210".Emits a deterministic random permutation of
[start, start + groupSize) within
each consecutive run of groupSize rows, advancing to a fresh permutation for the next
group.Builder for
GroupedPermutationGenerator.Populates a column only for the first
prefixSize rows of each consecutive group of
groupSize rows, emitting null for the remainder.Builder for
GroupedPrefixGenerator.H2-specific
DatabaseSupport.A
DataGenerator whose value for a row is a deterministic function of that row's
absolute (0-based) index, so it can be positioned to any row without replaying every
preceding generate() call.Generates IPv4 host addresses as a dotted-quad
String, e.g.Fluent builder for
InetGenerator.Generates random
Instant values drawn uniformly from a millisecond instant in
the half-open range [start, end) (start inclusive, end exclusive).Builder for
InstantGenerator instances.Generates a fixed-length
Integer[] whose elements are unbounded random int
values, bound to JDBC arrays of SQL type INTEGER.Fluent builder for
IntegerArrayGenerator.Generates
int values drawn uniformly from the half-open range
[startInclusive, endExclusive) using the seeded random source, so a given seed
yields a reproducible sequence.Fluent builder for
IntegerGenerator.Generates time spans as a
String in PostgreSQL interval input form,
years-months days hours:minutes:seconds, e.g.Fluent builder for
IntervalGenerator.Small helpers for inspecting and extending JDBC connection URLs.
Generator for JSON / JSONB columns.
Fluent builder for
JsonbGenerator.One column-level link of a foreign-key relationship between two tables.
One column of a possibly-composite key, paired with its position within that key.
Generates
long values drawn uniformly from the half-open range
[startInclusive, endExclusive) using the seeded random source, so a given seed
yields a reproducible sequence.Fluent builder for
LongGenerator.Generates MAC addresses as colon-separated hex octets, e.g.
Fluent builder for
MacAddressGenerator.MariaDB-specific
DatabaseSupport.Deterministic integer mixing functions shared across the engine.
MySQL-specific
DatabaseSupport.Generates
double values from a normal (Gaussian) distribution with the configured
mean and standard deviation, clamped to the inclusive range [min, max].Builds a
NormalDoubleGenerator, defaulting to a standard normal distribution (mean 0, standard deviation 1) with effectively unbounded min/max.Generates
int values 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].Builds a
NormalIntegerGenerator, defaulting to a standard normal distribution (mean 0, standard deviation 1) spanning the full int range.Generates
ol_delivery_d for the order_line table under variable order-line
cardinality: a delivery timestamp for the lines of delivered orders, and NULL
for the lines of the most recent (undelivered) orders.Builds
OrderLineDeliveryDateGenerator instances.Builds a
RowContext of coherent Person identities for correlated person columns
(issue #473).A coherent person identity for one row: the
email, username, and fullName
are all derived from the same firstName/lastName, so columns that project
different fields of the same Person agree (no "jane.doe with email bob@…").FileDefinition for pipe-delimited output.Builds a
RowContext of internally consistent Geo tuples for correlated geographic
columns (issue #473).PostgreSQL-specific
DatabaseSupport.The primary key of a database table — the column or columns that uniquely identify each row.
Central factory for the
RandomGenerator used throughout the fill engine.Materializes one coherent entity per row (a
Person, a geo tuple, …) and lets
several columns project fields out of it, so correlated columns agree — issue #473 "referential
realism".Emits one field of a
RowContext's per-row entity.Generates a
BigDecimal drawn uniformly from the half-open range
[startInclusive, endExclusive) and rounded (HALF_UP) to a fixed
scale.Fluent builder for
ScaledBigDecimalGenerator.Seeded numeric and string helpers built directly on a
RandomGenerator.Generates a monotonically increasing sequence of integers over the inclusive
range
[startInclusive, endInclusive], wrapping back to the start after
the end is emitted.Fluent builder for
SequentialIntegerGenerator.Generates
short values drawn uniformly from the half-open range
[startInclusive, endExclusive) using the seeded random source, so a given seed
yields a reproducible sequence.Fluent builder for
ShortGenerator.Generates fixed-length random strings.
Builder for
SimpleStringGenerator instances.Fluent builder for
SkewedTimestampGenerator.Generator for SQL
BLOB (binary large object) columns.Fluent builder for
SqlBlobGenerator.Generator for SQL
CLOB (character large object) columns.Fluent builder for
SqlClobGenerator.Generates random
Date values for binding to JDBC DATE columns, drawn
uniformly from a millisecond instant in the half-open range [start, end) (start inclusive,
end exclusive).Builder for
SqlDateGenerator instances.SQLite-specific
DatabaseSupport.Generator for SQL
STRUCT (structured / user-defined type) columns.Fluent builder for
SqlStructGenerator.Generates random
Time values for binding to JDBC TIME columns, drawn
uniformly from a millisecond instant in the half-open range [start, end) (start inclusive,
end exclusive).Builder for
SqlTimeGenerator instances.Generates random
Timestamp values for binding to JDBC TIMESTAMP columns,
drawn uniformly from a millisecond instant in the half-open range [start, end) (start
inclusive, end exclusive).Builder for
SqlTimestampGenerator instances.Always generates the same configured
BigDecimal value.Fluent builder for
StaticBigDecimalGenerator.Always generates the same configured double value.
Fluent builder for
StaticDoubleGenerator.Always generates the same configured float value.
Fluent builder for
StaticFloatGenerator.Always generates the same configured integer value.
Fluent builder for
StaticIntegerGenerator.Always generates the same configured string value.
Builder for
StaticStringGenerator instances.Generates a fixed-length
String[] whose elements are random alphabetic strings, bound
to JDBC arrays of SQL type VARCHAR.Fluent builder for
StringArrayGenerator.FileDefinition for tab-delimited (TSV) output.Represents a database table with its columns, keys, and relationships.
Configuration for customizing how a specific table should be filled with data.
Fills a database table with generated data.
Builder for constructing
TableFiller instances.Builds a complete set of
TableConfigurations for the TPC-C schema
(see create_tpcc.*.sql), suitable for passing to a
DatabaseConfiguration.Utilities implementing pieces of the TPC-C specification.
Generator for UUID (Universally Unique Identifier) values.
Builder for creating UUIDGenerator instances.
Generates strings whose length varies randomly within an inclusive
[minLength, maxLength] range.Builder for
VariableStringGenerator instances.Draws from a fixed set of values according to per-value weights — a categorical
distribution.
Fluent builder for
WeightedCategoricalGenerator.Generates small well-formed XML documents, e.g.
Fluent builder for
XmlGenerator.Generates TPC-C zip codes (clause 4.3.2.7): four random digits followed by the
constant suffix "11111", producing a 9-character value.
Builds
ZipCodeGenerator instances.Generates integers from a Zipfian (power-law) distribution over
size consecutive
values starting at start: rank k (1-based) has probability proportional to
1 / k^exponent, so the lowest values are by far the most frequent and the tail is long and
thin.Fluent builder for
ZipfianIntegerGenerator.