Interface GeneratorFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Builds the
DataGenerator used for a column of a particular JDBC type.
AbstractDatabaseSupport keeps a registry of these keyed by
JDBCType; database-specific subclasses add or replace entries to
customize generation (for example, to handle driver-specific type names exposed via
Column.typeName()).
- Since:
- 1.0.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncreate(Column column, RandomGenerator random) Creates a generator for the given column.
-
Method Details
-
create
Creates a generator for the given column.- Parameters:
column- the column metadata, including type, size, and database-specific type namerandom- the seeded random source supplied by the fill engine- Returns:
- the generator to use for the column
-