code: public List<JSONObject> queryCurrentPatchSets(String queryString) throws
              SshException, IOException, GerritQueryException {
          return queryJava(queryString, false, true, false, false);
      }
docs: Runs the query and returns the result as a list of Java JSONObjects.
  @param queryString the query.
  @return the query result as a List of JSONObjects.
  @throws GerritQueryException if Gerrit reports an error with the query.
  @throws SshException if there is an error in the SSH Connection.
  @throws IOException for some other IO problem.