code: public Map<String, Set<String>> getDataSourceLogicTablesMap(final Collection<String> dataSourceNames) {
          Map<String, Set<String>> result = new HashMap<>();
          for (String each : dataSourceNames) {
              Set<String> logicTableNames = getLogicTableNames(each);
              if (!logicTableNames.isEmpty()) {
                  result.put(each, logicTableNames);
              }
          }
          return result;
      }
docs: Get map relationship between data source and logic tables via data sources' names.
  
  @param dataSourceNames data sources' names
  @return  map relationship between data source and logic tables