code: public void addQuery(String query, String bId) {
  		
  		BatchItemRequest batchItemRequest = new BatchItemRequest();
  		batchItemRequest.setBId(bId);
  		batchItemRequest.setQuery(query);
  		
  		batchItemRequests.add(batchItemRequest);
  		bIds.add(bId);
  	}
docs: Method to add the query batch operation to batchItemRequest
  
  @param query the query
  @param bId the batch Id