|
Databricks C++ SDK 0.2.4
Interact with Databricks via an SDK
|
Represents a specific execution (run) of a Databricks job. More...
#include <jobs_types.h>
Static Public Member Functions | |
| static JobRun | from_json (const std::string &json_str) |
| Parse a JobRun from JSON string. | |
Public Attributes | |
| uint64_t | run_id = 0 |
| Unique identifier for this job run. | |
| uint64_t | job_id = 0 |
| ID of the job that was executed. | |
| std::string | state |
| Lifecycle state (e.g., "RUNNING", "TERMINATED") | |
| uint64_t | start_time = 0 |
| Unix timestamp in milliseconds when the run started. | |
| uint64_t | end_time = 0 |
| Unix timestamp in milliseconds when the run ended (0 if still running) | |
| std::string | result_state |
| Result state (e.g., "SUCCESS", "FAILED") | |
Represents a specific execution (run) of a Databricks job.
Each time a job is triggered, it creates a new run with its own unique run_id. This struct tracks the state and timing information for a job execution.
Definition at line 38 of file jobs_types.h.
|
static |
| uint64_t databricks::JobRun::end_time = 0 |
Unix timestamp in milliseconds when the run ended (0 if still running)
Definition at line 43 of file jobs_types.h.
| uint64_t databricks::JobRun::job_id = 0 |
ID of the job that was executed.
Definition at line 40 of file jobs_types.h.
| std::string databricks::JobRun::result_state |
Result state (e.g., "SUCCESS", "FAILED")
Definition at line 44 of file jobs_types.h.
| uint64_t databricks::JobRun::run_id = 0 |
Unique identifier for this job run.
Definition at line 39 of file jobs_types.h.
| uint64_t databricks::JobRun::start_time = 0 |
Unix timestamp in milliseconds when the run started.
Definition at line 42 of file jobs_types.h.
| std::string databricks::JobRun::state |
Lifecycle state (e.g., "RUNNING", "TERMINATED")
Definition at line 41 of file jobs_types.h.