add operation to get-batch_result_in_job so we can handle queries.