Package guru.mikelue.foxglove.jdbc
Interface ColumnSettingSteps.ColumnFromStep<T>
- Type Parameters:
T- The type of value generated for the column
- Enclosing interface:
ColumnSettingSteps
public static interface ColumnSettingSteps.ColumnFromStep<T>
The step to configure column from another table.
-
Method Summary
Modifier and TypeMethodDescriptionrandom()Uses random choosing over values from referenced column of another table.Uses round-robin strategy to assign values from referenced column of another table.transformDomain(Function<? super Stream<T>, ? extends Stream<V>> domainConverter) Transforms the domain of referenced column to another domain values.
-
Method Details
-
transformDomain
<V> ColumnSettingSteps.ColumnFromStep<V> transformDomain(Function<? super Stream<T>, ? extends Stream<V>> domainConverter) Transforms the domain of referenced column to another domain values.- Type Parameters:
V- The type to which the value of referencing column is converted- Parameters:
domainConverter- The function to convert stream of values- Returns:
- The step to configure column from another table
-
roundRobin
JdbcTableFacet.Builder roundRobin()Uses round-robin strategy to assign values from referenced column of another table.- Returns:
- The builder for
JdbcTableFacet - See Also:
-
random
JdbcTableFacet.Builder random()Uses random choosing over values from referenced column of another table.- Returns:
- The builder for
JdbcTableFacet - See Also:
-