Uses of Class
guru.mikelue.foxglove.jdbc.JdbcTableFacet.Builder
Packages that use JdbcTableFacet.Builder
-
Uses of JdbcTableFacet.Builder in guru.mikelue.foxglove.jdbc
Methods in guru.mikelue.foxglove.jdbc that return JdbcTableFacet.BuilderModifier and TypeMethodDescriptionstatic JdbcTableFacet.BuilderStarts to build aJdbcTableFacetwith table name.ColumnSettingSteps.ReferenceSettingStep.CardinalityStep.cardinality(int numberOfChildrenPerParent) Sets the number of rows in child table per one row in parent table.ColumnSettingSteps.ReferenceSettingStep.CardinalityStep.cardinality(int min, int max) Makes the number of rows is generated randomly in child table per one row in parent table.Sets the domain of values for Cartesian product.default JdbcTableFacet.BuilderSets the domain of values for Cartesian product.default JdbcTableFacet.BuilderSets the domain of values for Cartesian product.ColumnSettingSteps.KeyOfIntSettingStep.domain(long[] domain) Sets the set of number of values to be used for key column.default JdbcTableFacet.BuilderSets the domain of numbers to be used for key column.default JdbcTableFacet.BuilderColumnSettingSteps.KeyOfIntSettingStep.domain(LongStream domain) Sets the set of number of values to be used for key column.default JdbcTableFacet.BuilderSets the domain of numbers to be used for key column.JdbcTableFacet.Builder.excludeColumns(String... columns) Excludes the columns by their name.Uses a fixed value for the column.ColumnSettingSteps.ColumnSimpleStep.forRow(RowIndexToValue<? extends T> rowIndexToValue) Uses a function that converts row index to value.JdbcTableFacet.Builder.includeColumns(String... columns) These columns would be generated automatically in spite of their properties.default JdbcTableFacet.BuilderColumnSettingSteps.KeyOfIntSettingStep.limit(int number) Sets the limit number of values can be generated for key column(starts with 1, steps with 1).default JdbcTableFacet.BuilderColumnSettingSteps.KeyOfIntSettingStep.limit(long start, int number) Sets the limit number of values can be generated for key column(steps with 1).ColumnSettingSteps.KeyOfIntSettingStep.limit(long start, int number, int step) Sets the limit number of values can be generated for key column.JdbcTableFacet.Builder.numberOfRows(int numberOfRows) Sets the number of rows to be generated for the table.JdbcTableFacet.Builder.onTupleGenerated(Consumer<TupleAccessor> tupleGeneratedConsumer) Sets the consumer to handle generated tuple.ColumnSettingSteps.ColumnFromStep.random()Uses random choosing over values from referenced column of another table.default JdbcTableFacet.BuilderColumnSettingSteps.KeyOfIntSettingStep.range(long end) Sets the range of values for key column(starts with 1, step 1).default JdbcTableFacet.BuilderColumnSettingSteps.KeyOfIntSettingStep.range(long start, long end) Sets the range of values for key column(with step 1).ColumnSettingSteps.KeyOfIntSettingStep.range(long start, long end, int step) Sets the range of values for key column.ColumnSettingSteps.CartesianProductSettingStep.referencing(JdbcTableFacet referencedTable, String referencedColumn) References values from column of another table's for Cartesian product.ColumnSettingSteps.ColumnFromStep.roundRobin()Uses round-robin strategy to assign values from referenced column of another table.default JdbcTableFacet.BuilderColumnSettingSteps.ColumnSimpleStep.roundRobin(List<? extends T> values) Generates data by round-robin of values.default JdbcTableFacet.BuilderColumnSettingSteps.ColumnSimpleStep.roundRobin(Stream<? extends T> domain) Generates data by round-robin of values.ColumnSettingSteps.ColumnSimpleStep.roundRobin(T... values) Generates data by round-robin of values.JdbcTableFacet.Builder.withSetting(DataSettingInfo setting) This object has highest priority thanJdbcDataGenerator.withSetting(DataSettingInfo)andDataSetting.defaults().