buchireddy commented on a change in pull request #5892:
URL: https://github.com/apache/incubator-pinot/pull/5892#discussion_r472558991



##########
File path: 
pinot-clients/pinot-java-client/src/main/java/org/apache/pinot/client/Connection.java
##########
@@ -96,6 +96,18 @@ public ResultSetGroup execute(Request request)
     return execute(null, request);
   }
 
+  /**
+   * Executes a Pinot Request and returns the Response.
+   *
+   * @param request The request to execute
+   * @return The BrokerResponse for the request.
+   * @throws PinotClientException If an exception occurs while processing the 
query
+   */
+  public BrokerResponse executeRequest(Request request)

Review comment:
       I don't think the stats belong to ResultSetGroup, hence I didn't go that 
route. Yes, it's simple and easy method but isn't intuitive API, at least to me.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to