Databricks C++ SDK 0.2.4
Interact with Databricks via an SDK
Loading...
Searching...
No Matches
databricks::Job Struct Reference

Represents a Databricks job. More...

#include <jobs_types.h>

Static Public Member Functions

static Job from_json (const std::string &json_str)
 Parse a Job from JSON string.
 

Public Attributes

uint64_t job_id = 0
 Unique identifier for the job.
 
std::string name
 Display name of the job.
 
std::string creator_user_name
 Username of the job creator.
 
uint64_t created_time = 0
 Unix timestamp in milliseconds when the job was created.
 
std::map< std::string, std::string > settings
 Job configuration settings (raw JSON)
 

Detailed Description

Represents a Databricks job.

Jobs are the primary method for running data processing workloads in Databricks. This struct contains the core metadata about a job configuration.

Definition at line 16 of file jobs_types.h.

Member Function Documentation

◆ from_json()

static Job databricks::Job::from_json ( const std::string &  json_str)
static

Parse a Job from JSON string.

Parameters
json_strJSON representation of a job
Returns
Parsed Job object
Exceptions
std::runtime_errorif parsing fails

Member Data Documentation

◆ created_time

uint64_t databricks::Job::created_time = 0

Unix timestamp in milliseconds when the job was created.

Definition at line 20 of file jobs_types.h.

◆ creator_user_name

std::string databricks::Job::creator_user_name

Username of the job creator.

Definition at line 19 of file jobs_types.h.

◆ job_id

uint64_t databricks::Job::job_id = 0

Unique identifier for the job.

Definition at line 17 of file jobs_types.h.

◆ name

std::string databricks::Job::name

Display name of the job.

Definition at line 18 of file jobs_types.h.

◆ settings

std::map<std::string, std::string> databricks::Job::settings

Job configuration settings (raw JSON)

Definition at line 21 of file jobs_types.h.


The documentation for this struct was generated from the following file: