@Override
 public URI createQueryLocation(QueryId queryId) {
   Preconditions.checkNotNull(queryId, "queryId is null");
   return uriBuilderFrom(baseUri).appendPath("/v1/query").appendPath(queryId.toString()).build();
 }