Interface TableNameMapper
- All Known Implementing Classes:
TableProviderControlImpl
public interface TableNameMapper
This class contains the table name selector and remapping information that was declared in the LVConf or the Service Call
-
Method Summary
Modifier and TypeMethodDescriptionThis will match the name against the selector.check and remap a name.
-
Method Details
-
remap
check and remap a name. This will match the name against the selectors. Returns null if none matched, or the remapped string if one did. Note that having no mappings (either because mappings is null or empty) is legitimate, and implies a mapping of (.*) to %s (i.e. everything passes and maps to itself).- Parameters:
name
- the name to be remapped- Returns:
- null for no match or the remapped name.
-
getTableFilteredAliases
This will match the name against the selector. Returns null if none matched, or TablePropertiesConfigurationWrapper instance with re-mapped string if one did. Note that having no mappings (either because mappings is null or empty) is legitimate, and implies a mapping of (.*) to %s (i.e. everything passes and maps to itself).- Parameters:
name
- is the name to be remapped and be wrapped inTablePropertiesConfigurationWrapper
- Returns:
- null for no match or TablePropertiesConfigurationWrapper with remapped name and a list of FilteredAlias instances for this table name
- Since:
- 2.1.1
-