primaryTable
Returns the primary table of this configuration.
- Returns:
- name of the table that is marked as primary table or null if no table is marked as primary table
- See Also:
de.calamanari.adl.cnv.tps.ArgMetaInfoLookup, SerializableDummyDataTableConfig, MultiTableConfig, SingleTableConfigDataTableConfig maps columns to argNames.
Notes:
default de.calamanari.adl.cnv.tps.ArgMetaInfolookupAssignment(String argName,
de.calamanari.adl.ProcessContext ctx) default DataColumnlookupColumn(String argName,
de.calamanari.adl.ProcessContext ctx) lookupTableMetaInfo(String argName,
de.calamanari.adl.ProcessContext ctx) default TableMetaInfolookupTableMetaInfoByTableName(String tableName) allTableMetaInfos() by table nameintdefault intnumberOfTablesInvolved(List<String> argNames,
de.calamanari.adl.ProcessContext ctx) default Stringdefault List<TableMetaInfo> tableMetaInfosInvolved(List<String> argNames,
de.calamanari.adl.ProcessContext ctx) tablesInvolved(List<String> argNames,
de.calamanari.adl.ProcessContext ctx) contains, isAlwaysKnown, isCollection, lookup, typeOfargName - ctx - ArgColumnAssignment if ArgMetaInfoLookup.contains(String)=true, otherwise throws exceptionde.calamanari.adl.cnv.tps.LookupException - if there is no assignment for the given argNameIllegalArgumentException - if argName was nullargNames - ctx - de.calamanari.adl.cnv.tps.LookupException - if there is no assignment for any given argNameIllegalArgumentException - if any given argName was nullThe result order depends on the order of the provided argNames.
argNames - ctx - de.calamanari.adl.cnv.tps.LookupException - if there is no assignment for any given argNameIllegalArgumentException - if any given argName was nulllookup in interface de.calamanari.adl.cnv.tps.ArgMetaInfoLookupargName - ctx - DataColumn if ArgMetaInfoLookup.contains(String)=true, otherwise throws exceptionde.calamanari.adl.cnv.tps.LookupException - if there is no assignment for the given argNameIllegalArgumentException - if argName was nullargName - ctx - de.calamanari.adl.cnv.tps.LookupException - if there is no TableMetaInfo for the given argNameIllegalArgumentException - if argName was null
Important: Although the order is not defined, best case the order in the list reflects the order of configuration.
In any case it must be stable and it should be deterministic because this is the order the default implementations of several other methods relies
on. If the result is composed from an underlying set, then the list should be sorted before returning to avoid indeterministic behavior like flaky
tests or unexplainable variations when generating queries.
The order result order depends on the order of the provided argNames.
argNames - ctx - de.calamanari.adl.cnv.tps.LookupException - if there is no assignment for any given argNameIllegalArgumentException - if any given argName was nullTableNature.containsAllIds() or "the only table at all"allTableMetaInfos() by table nametableName - de.calamanari.adl.cnv.tps.LookupException - if there is no info about the given table nameIllegalArgumentException - if any given tableName was null