code: @Nonnull
  	static Collection<MetricLocation> prepareGetMetricUrls(List<String> metricMasks, String tableFilter, boolean underscoreAsLiteral) {
  		if (WildcardsUtil.isRetrieveAllPattern(tableFilter) || tableFilter.isEmpty()) {
  			if (metricMasks.isEmpty()) {
  				return Collections.emptyList();
  			} else {
  				return buildPatternDisjunction(metricMasks, underscoreAsLiteral);
  			}
  		} else  {
  			return Collections.singletonList(buildAtsdPatternUrl(tableFilter, underscoreAsLiteral));
  		}
  	}
docs: Prepare URL to retrieve metrics
  @param metricMasks filter specified in `tables` connection string parameter
  @param tableFilter filter specified in method parameter
  @param underscoreAsLiteral treat underscore as not a metacharacter
  @return MetricLocation