pub async fn get_job( &self, job_id: i64, ) -> Result<GetJobResponse, KineticaError>
Get the status and result of asynchronously running job
Get the status and result of asynchronously running job. See the /create/job for starting an asynchronous job. Some fields of the response are filled only after the submitted job has finished execution.
job_id- A unique identifier for the job whose status and result is to be fetched.
pub async fn get_job_with_opts( &self, job_id: i64, options: GetJobRequestOptions, ) -> Result<GetJobResponse, KineticaError>
Get the status and result of asynchronously running job
Get the status and result of asynchronously running job. See the /create/job for starting an asynchronous job. Some fields of the response are filled only after the submitted job has finished execution.
job_id- A unique identifier for the job whose status and result is to be fetched.options- The optional parameters; any left unset take the server’s defaults.
pub async fn get_job_raw( &self, request: &GetJobRequest, ) -> Result<GetJobResponse, KineticaError>
Sends a pre-built GetJobRequest to the /get/job endpoint.
pub async fn get_job_from_url( &self, url: &str, request: &GetJobRequest, ) -> Result<GetJobResponse, KineticaError>
Sends a pre-built GetJobRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.