Package guru.mikelue.foxglove.jdbc
Interface ColumnSettingSteps.KeyOfIntSettingStep
- Enclosing interface:
ColumnSettingSteps
public static interface ColumnSettingSteps.KeyOfIntSettingStep
The step used to limit the number of rows by
bounding integral value for a column,
This interface is not about uniqueness,
is about to assign number of rows.
If what you need only integral sequence for a column,
just use JdbcTableFacet.Builder.column(String) with Int4SequenceSupplier, etc.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondomain(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.Builderdomain(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.default JdbcTableFacet.Builderlimit(int number) Sets the limit number of values can be generated for key column(starts with 1, steps with 1).default JdbcTableFacet.Builderlimit(long start, int number) Sets the limit number of values can be generated for key column(steps with 1).limit(long start, int number, int step) Sets the limit number of values can be generated for key column.default JdbcTableFacet.Builderrange(long end) Sets the range of values for key column(starts with 1, step 1).default JdbcTableFacet.Builderrange(long start, long end) Sets the range of values for key column(with step 1).range(long start, long end, int step) Sets the range of values for key column.
-
Method Details
-
range
Sets the range of values for key column(starts with 1, step 1).- Parameters:
end- The end value (exclusive)- Returns:
- The builder for
JdbcTableFacet - See Also:
-
range
Sets the range of values for key column(with step 1).- Parameters:
start- The start value (inclusive)end- The end value (exclusive)- Returns:
- The builder for
JdbcTableFacet - See Also:
-
range
Sets the range of values for key column.- Parameters:
start- The start value (inclusive)end- The end value (exclusive)step- The step value- Returns:
- The builder for
JdbcTableFacet - See Also:
-
limit
Sets the limit number of values can be generated for key column(starts with 1, steps with 1).- Parameters:
number- The number of values can be generated- Returns:
- The builder for
JdbcTableFacet - See Also:
-
limit
Sets the limit number of values can be generated for key column(steps with 1).- Parameters:
start- The start valuenumber- The number of values can be generated- Returns:
- The builder for
JdbcTableFacet - See Also:
-
limit
Sets the limit number of values can be generated for key column.- Parameters:
start- The start valuenumber- The number of values can be generatedstep- The step value- Returns:
- The builder for
JdbcTableFacet - See Also:
-
domain
Sets the domain of numbers to be used for key column.- Parameters:
domain- The list of values- Returns:
- The builder for
JdbcTableFacet - See Also:
-
domain
Sets the domain of numbers to be used for key column.- Parameters:
domain- The list of values- Returns:
- The builder for
JdbcTableFacet - See Also:
-
domain
Sets the set of number of values to be used for key column.- Parameters:
domain- The list of values- Returns:
- The builder for
JdbcTableFacet - See Also:
-
domain
Sets the set of number of values to be used for key column.- Parameters:
domain- The list of values- Returns:
- The builder for
JdbcTableFacet - See Also:
-