code: public Observable<List<QueryStatisticInner>> listByQueryAsync(String resourceGroupName, String serverName, String databaseName, String queryId) {
          return listByQueryWithServiceResponseAsync(resourceGroupName, serverName, databaseName, queryId).map(new Func1<ServiceResponse<List<QueryStatisticInner>>, List<QueryStatisticInner>>() {
              @Override
              public List<QueryStatisticInner> call(ServiceResponse<List<QueryStatisticInner>> response) {
                  return response.body();
              }
          });
      }
docs: Lists a query's statistics.
  
  @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
  @param serverName The name of the server.
  @param databaseName The name of the database.
  @param queryId The id of the query
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the List&lt;QueryStatisticInner&gt; object