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 Detail

      • remap

        String remap​(String name)
        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

        TablePropertiesConfigurationWrapper getTableFilteredAliases​(String name)
        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 in TablePropertiesConfigurationWrapper
        Returns:
        null for no match or TablePropertiesConfigurationWrapper with remapped name and a list of FilteredAlias instances for this table name
        Since:
        2.1.1