Package de.calamanari.adl.sql.config
Interface ConfigBuilderInterfaces.SingleTableStep2
- All Superinterfaces:
ConfigBuilderInterfaces.SingleTableStep3,ConfigBuilderInterfaces.SingleTableStep4
- Enclosing class:
ConfigBuilderInterfaces
public static interface ConfigBuilderInterfaces.SingleTableStep2
extends ConfigBuilderInterfaces.SingleTableStep3
Fluent API to build a
SingleTableConfig
Follow the method chain to finally obtain the result with ConfigBuilderInterfaces.SingleTableAddColumnOrExit.get().
-
Method Summary
Modifier and TypeMethodDescriptionConfigures this table as the primary table of a setup, means the table to start the base selection on before joining any other table.Tells the system that every record is listed in this table.Methods inherited from interface de.calamanari.adl.sql.config.ConfigBuilderInterfaces.SingleTableStep3
withSparseData, withUniqueIdsMethods inherited from interface de.calamanari.adl.sql.config.ConfigBuilderInterfaces.SingleTableStep4
filteredBy, idColumn
-
Method Details
-
asPrimaryTable
ConfigBuilderInterfaces.SingleTableStep3 asPrimaryTable()Configures this table as the primary table of a setup, means the table to start the base selection on before joining any other table. This only works if all possible records are present in this table.- Setting this property implicitly configures
thatContainsAllIds(). - Only one table in a setup can be the primary table.
- Returns:
- builder
- Setting this property implicitly configures
-
thatContainsAllIds
ConfigBuilderInterfaces.SingleTableStep3 thatContainsAllIds()Tells the system that every record is listed in this table. This allows the query builder to start a query on this table before joining any other tables. In other words: it cannot happen that any valid record has no entry in this table.- Returns:
- builder
-