code: public String toQueryString() {
          StringBuilder sb = new StringBuilder();
          boolean firstParam = true;
          for (int i = 0; i < params.length; i++) {
              if (params[i] == null) {
                  i++;
                  continue;
              }
  
              boolean even = i % 2 == 0;
              if (even) {
                  if (!firstParam) {
                      sb.append("&");
                  }
              }
              sb.append(params[i]);
              firstParam = false;
              if (even) {
                  sb.append('=');
              }
          }
          return sb.toString();
      }
docs: Returns the query string for this ViewQuery, containing all the key/value pairs
  for parameters that will be part of this ViewQuery's execution URL for the view service.