Interface DataGenerator<T extends TableFacet>

Type Parameters:
T - The type of table facet
All Superinterfaces:
SettingAware<DataGenerator<T>>
All Known Implementing Classes:
JdbcDataGenerator

public interface DataGenerator<T extends TableFacet> extends SettingAware<DataGenerator<T>>
Defines the common operators for data generating.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    generate(List<T> tables)
    Performs the data generating for the given table facets.
    default int
    generate(T... tables)
    Performs the data generating for the given table facets.

    Methods inherited from interface guru.mikelue.foxglove.setting.SettingAware

    withSetting
  • Method Details

    • generate

      default int generate(T... tables)
      Performs the data generating for the given table facets.
      Parameters:
      tables - The table facets
      Returns:
      The total number of rows generated
      See Also:
    • generate

      int generate(List<T> tables)
      Performs the data generating for the given table facets.
      Parameters:
      tables - The table facets
      Returns:
      The total number of rows generated
      See Also: