Package de.calamanari.adl.sql.config
Interface ConfigBuilderInterfaces.MultiTableStep1
- All Superinterfaces:
ConfigBuilderInterfaces.MultiTableStep2,ConfigBuilderInterfaces.MultiTableStep3
- Enclosing class:
ConfigBuilderInterfaces
public static interface ConfigBuilderInterfaces.MultiTableStep1
extends ConfigBuilderInterfaces.MultiTableStep2
Fluent API to build a
MultiTableConfig
Follow the method chain to finally obtain the result with ConfigBuilderInterfaces.MultiTableExit.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.MultiTableStep2
withSparseData, withUniqueIdsMethods inherited from interface de.calamanari.adl.sql.config.ConfigBuilderInterfaces.MultiTableStep3
filteredBy, idColumn
-
Method Details
-
asPrimaryTable
ConfigBuilderInterfaces.MultiTableStep2 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.MultiTableStep2 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
-