Package de.calamanari.adl.sql.config
Interface ConfigBuilderInterfaces.SingleTableAddColumnOrExit
- All Known Subinterfaces:
ConfigBuilderInterfaces.SingleTableDataColumnStep2,ConfigBuilderInterfaces.SingleTableDataColumnStep3,ConfigBuilderInterfaces.SingleTableDataColumnStep4
- Enclosing class:
ConfigBuilderInterfaces
public static interface ConfigBuilderInterfaces.SingleTableAddColumnOrExit
Fluent API to build a
SingleTableConfig
Follow the method chain to finally obtain the result with get().
-
Method Summary
Modifier and TypeMethodDescriptiondataColumn(String columnName, AdlSqlType columnType) Adds a data column of the given type to the current tableget()
-
Method Details
-
dataColumn
ConfigBuilderInterfaces.SingleTableDataColumnStep1 dataColumn(String columnName, AdlSqlType columnType) Adds a data column of the given type to the current table- Parameters:
columnName- SQL column name in your database tablecolumnType- type of the column- Returns:
- builder
- See Also:
-
get
SingleTableConfig get()- Returns:
- the table configuration
-