def _select_query_method(cls, url):
if urlparse(url).netloc.startswith('<STR_LIT>'):  <EOL><INDENT>return cls.query_segdb<EOL><DEDENT>return cls.query_dqsegdb<EOL>
Select the correct query method based on the URL

    Works for `DataQualityFlag` and `DataQualityDict`