|
| | Jobs (const AuthConfig &auth) |
| | Construct a Jobs API client.
|
| |
| | Jobs (std::shared_ptr< internal::IHttpClient > http_client) |
| | Construct a Jobs API client with dependency injection (for testing)
|
| |
| | ~Jobs () |
| | Destructor.
|
| |
| | Jobs (const Jobs &)=delete |
| |
| Jobs & | operator= (const Jobs &)=delete |
| |
| std::vector< Job > | list_jobs (int limit=25, int offset=0) |
| | List jobs in the workspace with pagination.
|
| |
| Job | get_job (uint64_t job_id) |
| | Get detailed information about a specific job.
|
| |
| uint64_t | run_now (uint64_t job_id, const std::map< std::string, std::string > ¬ebook_params={}) |
| | Trigger an immediate run of a job.
|
| |
Client for interacting with the Databricks Jobs API.
The Jobs API allows you to create, manage, and trigger jobs in your Databricks workspace. This implementation uses Jobs API 2.2 for full feature support including pagination.
Example usage:
auto job_list = jobs.list_jobs(25, 0);
auto job = jobs.get_job(123456789);
std::map<std::string, std::string> params = {{"key", "value"}};
uint64_t run_id = jobs.run_now(123456789, params);
Client for interacting with the Databricks Jobs API.
Core authentication configuration shared across all Databricks features.
static AuthConfig from_environment(const std::string &profile="DEFAULT")
Load authentication configuration from all available sources.
Definition at line 40 of file jobs.h.