Lines Matching refs:query

131 	// Now get the raw query.
137 // Parse the raw query to pull out the service type, scope,
138 // and query.
188 // Parsing the query is complicated by opaques having slashes.
207 query = q.substring(0, q.length()-1);
213 // Convert the query into a V2 query.
217 // If the query is for "service:directory-agent", then we
232 " query=``" +
233 query + "''");
305 // Convert the query to a V2 query.
310 // Check for empty query.
312 query = query.trim();
314 if (query.length() <= 0) {
319 // Check for query join.
321 if (!(query.startsWith("(") && query.endsWith(")"))) {
323 // Rewrite to a standard query.
325 query = rewriteQueryJoin(query);
329 // Now rewrite the query into v2 format.
331 query = rewriteQuery(query);
335 // Rewrite a query join as a conjunction.
337 private String rewriteQueryJoin(String query)
343 StringTokenizer tk = new StringTokenizer(query, ",", true);
356 new Object[] {query});
370 new Object[] {query});
389 new Object[] {query});
402 // Rewrite a v1 query into v2 format. This includes character escaping.
444 new Object[] {query});
529 new Object[] {query});
536 // in the query.
550 new Object[] {query});
596 new Object[] {query});
607 new Object[] {query});
629 new Object[] {query});
641 new Object[] {query});
679 // If the value is an integer, we can construct a query
719 // It's not an integer. We can construct a query expression
720 // that will not always work. The query rules out advertisments
725 // are other attributes. The format of the query is:
763 new Object[] {query});
775 new Object[] {query});
779 // Construct a query that includes everything
885 new Object[] {query});
908 new Object[] {query});
931 new Object[] {query});
985 new Object[] {query});
1000 new Object[] {query});
1013 new Object[] {query});