Package guru.mikelue.foxglove.jdbc
Interface ColumnSettingSteps.ReferenceSettingStep.CardinalityStep
- Enclosing interface:
ColumnSettingSteps.ReferenceSettingStep<T>
public static interface ColumnSettingSteps.ReferenceSettingStep.CardinalityStep
The step to configure cardinality of reference.
-
Method Summary
Modifier and TypeMethodDescriptioncardinality(int numberOfChildrenPerParent) Sets the number of rows in child table per one row in parent table.cardinality(int min, int max) Makes the number of rows is generated randomly in child table per one row in parent table.
-
Method Details
-
cardinality
Sets the number of rows in child table per one row in parent table.- Parameters:
numberOfChildrenPerParent- The number of rows in child table. At least 1.- Returns:
- The builder for
JdbcTableFacet
-
cardinality
Makes the number of rows is generated randomly in child table per one row in parent table.- Parameters:
min- The minimum number of rows in child table, At least 0.max- The maximum number of rows in child table- Returns:
- The builder for
JdbcTableFacet
-