Skip to main content

◆ adminAlterJobs() [1/4]

AdminAlterJobsResponse gpudb::GPUdb::adminAlterJobs (const AdminAlterJobsRequest &request_) const

Perform the requested action on a list of one or more job(s).

Based on the type of job and the current state of execution, the action may not be successfully executed. The final result of the attempted actions for each specified job is returned in the status array of the response. See Job Manager for more information.

Parameters
[in]request_Request object containing the parameters for the operation.
Returns
Response object containing the result of the operation.

◆ adminAlterJobs() [2/4]

AdminAlterJobsResponse & gpudb::GPUdb::adminAlterJobs (const AdminAlterJobsRequest &request_,
AdminAlterJobsResponse &response_ ) const

Perform the requested action on a list of one or more job(s).

Based on the type of job and the current state of execution, the action may not be successfully executed. The final result of the attempted actions for each specified job is returned in the status array of the response. See Job Manager for more information.

Parameters
[in]request_Request object containing the parameters for the operation.
[out]response_Response object containing the results of the operation.
Returns
Response object containing the result of the operation (initially passed in by reference).

◆ adminAlterJobs() [3/4]

AdminAlterJobsResponse gpudb::GPUdb::adminAlterJobs (const std::vector< int64_t > &jobIds,
const std::string &action,
const std::map< std::string, std::string > &options ) const

Perform the requested action on a list of one or more job(s).

Based on the type of job and the current state of execution, the action may not be successfully executed. The final result of the attempted actions for each specified job is returned in the status array of the response. See Job Manager for more information.

Parameters
[in]jobIdsJobs to be modified.
[in]actionAction to be performed on the jobs specified by job_ids. Supported values:
[in]optionsOptional parameters.The default value is an empty map.
Returns
Response object containing the result of the operation.

◆ adminAlterJobs() [4/4]

AdminAlterJobsResponse & gpudb::GPUdb::adminAlterJobs (const std::vector< int64_t > &jobIds,
const std::string &action,
const std::map< std::string, std::string > &options,
AdminAlterJobsResponse &response_ ) const

Perform the requested action on a list of one or more job(s).

Based on the type of job and the current state of execution, the action may not be successfully executed. The final result of the attempted actions for each specified job is returned in the status array of the response. See Job Manager for more information.

Parameters
[in]jobIdsJobs to be modified.
[in]actionAction to be performed on the jobs specified by job_ids. Supported values:
[in]optionsOptional parameters.The default value is an empty map.
[out]response_Response object containing the results of the operation.
Returns
Response object containing the result of the operation (initially passed in by reference).