code: public Collection<JobExecutionQueryResult> batchGet(Collection<JobExecutionQuery> queries)
        throws RemoteInvocationException {
  
      Set<ComplexResourceKey<JobExecutionQuery, EmptyRecord>> ids = Sets.newHashSet();
      for (JobExecutionQuery query : queries) {
        ids.add(new ComplexResourceKey<JobExecutionQuery, EmptyRecord>(query, new EmptyRecord()));
      }
  
      BatchGetKVRequest<ComplexResourceKey<JobExecutionQuery, EmptyRecord>, JobExecutionQueryResult>
          batchGetRequest =  new JobExecutionsBuilders().batchGet().ids(ids).buildKV();
  
      BatchKVResponse<ComplexResourceKey<JobExecutionQuery, EmptyRecord>, JobExecutionQueryResult>
        response = this.restClient.sendRequest(batchGetRequest,
                                               ErrorHandlingBehavior.TREAT_SERVER_ERROR_AS_SUCCESS)
              .getResponseEntity();
      return response.getResults().values();
    }
docs: Get a collection of {@link JobExecutionQueryResult}s for a collection of {@link JobExecutionQuery}s.
  
  <p>
  The order of {@link JobExecutionQueryResult}s may not match the order of {@link JobExecutionQuery}s.
  </p>
  
  @param queries a collection of {@link JobExecutionQuery}s
  @return a collection of {@link JobExecutionQueryResult}s
  @throws RemoteInvocationException