|
Databricks C++ SDK 0.2.4
Interact with Databricks via an SDK
|
Namespaces | |
| namespace | internal |
Classes | |
| struct | AuthConfig |
| Core authentication configuration shared across all Databricks features. More... | |
| struct | CatalogInfo |
| Represents a Unity Catalog catalog. More... | |
| class | Client |
| Main client class for Databricks SQL operations. More... | |
| struct | Cluster |
| Represents a Databricks cluster. More... | |
| struct | ClusterState |
| Represents detailed state information for a cluster. More... | |
| struct | ColumnInfo |
| Represents column information. More... | |
| class | Compute |
| Client for interacting with the Databricks Clusters/Compute API. More... | |
| class | ConnectionPool |
| Thread-safe connection pool for managing Databricks connections. More... | |
| struct | CreateCatalogRequest |
| Configuration for creating a catalog. More... | |
| struct | CreateSchemaRequest |
| Configuration for creating a schema. More... | |
| struct | Job |
| Represents a Databricks job. More... | |
| struct | JobRun |
| Represents a specific execution (run) of a Databricks job. More... | |
| class | Jobs |
| Client for interacting with the Databricks Jobs API. More... | |
| struct | PoolingConfig |
| Connection pooling configuration (optional performance optimization) More... | |
| struct | RetryConfig |
| Retry configuration for automatic error recovery. More... | |
| struct | SchemaInfo |
| Represents a Unity Catalog schema. More... | |
| struct | SQLConfig |
| SQL-specific configuration for Databricks SQL operations. More... | |
| struct | TableInfo |
| Represents a Unity Catalog table. More... | |
| class | UnityCatalog |
| Client for interacting with the Databricks Unity Catalog API. More... | |
| struct | UpdateCatalogRequest |
| Configuration for updating a catalog. More... | |
| struct | UpdateSchemaRequest |
| Configuration for updating a schema. More... | |
Enumerations | |
| enum class | ClusterStateEnum { PENDING , RUNNING , RESTARTING , RESIZING , TERMINATING , TERMINATED , ERROR , UNKNOWN } |
| Enumeration of possible cluster lifecycle states. More... | |
| enum class | CatalogTypeEnum { MANAGED_CATALOG , EXTERNAL_CATALOG , SYSTEM_CATALOG , UNKNOWN } |
| Enumeration of catalog types. More... | |
| enum class | TableTypeEnum { MANAGED , EXTERNAL , VIEW , MATERIALIZED_VIEW , STREAMING_TABLE , UNKNOWN } |
| Enumeration of table types. More... | |
Functions | |
| ClusterStateEnum | parse_cluster_state (const std::string &state_str) |
| Parse a cluster state string into ClusterStateEnum. | |
| std::string | cluster_state_to_string (ClusterStateEnum state) |
| Convert ClusterStateEnum to string representation. | |
| CatalogTypeEnum | parse_catalog_type (const std::string &type_str) |
| Parse a catalog type string into CatalogTypeEnum. | |
| std::string | catalog_type_to_string (CatalogTypeEnum type) |
| Convert CatalogTypeEnum to string representation. | |
| TableTypeEnum | parse_table_type (const std::string &type_str) |
| Parse a table type string into TableTypeEnum. | |
| std::string | table_type_to_string (TableTypeEnum type) |
| Convert TableTypeEnum to string representation. | |
| void | to_json (nlohmann::json &j, const CreateCatalogRequest &req) |
| Convert CreateCatalogRequest to JSON. | |
| void | to_json (nlohmann::json &j, const UpdateCatalogRequest &req) |
| Convert UpdateCatalogRequest to JSON. | |
| void | to_json (nlohmann::json &j, const CreateSchemaRequest &req) |
| Convert CreateSchemaRequest to JSON. | |
| void | to_json (nlohmann::json &j, const UpdateSchemaRequest &req) |
| Convert UpdateSchemaRequest to JSON. | |
|
strong |
Enumeration of catalog types.
| Enumerator | |
|---|---|
| MANAGED_CATALOG | Databricks-managed catalog. |
| EXTERNAL_CATALOG | External catalog (e.g., AWS Glue, Azure) |
| SYSTEM_CATALOG | System catalog. |
| UNKNOWN | Unknown catalog type. |
Definition at line 15 of file unity_catalog_types.h.
|
strong |
Enumeration of possible cluster lifecycle states.
Represents the various states a Databricks cluster can be in during its lifecycle.
| Enumerator | |
|---|---|
| PENDING | Cluster is being created. |
| RUNNING | Cluster is running and ready for use. |
| RESTARTING | Cluster is restarting. |
| RESIZING | Cluster is being resized. |
| TERMINATING | Cluster is being terminated. |
| TERMINATED | Cluster has been terminated. |
| ERROR | Cluster is in an error state. |
| UNKNOWN | Unknown or unrecognized state. |
Definition at line 14 of file compute_types.h.
|
strong |
Enumeration of table types.
| Enumerator | |
|---|---|
| MANAGED | Managed table. |
| EXTERNAL | External table. |
| VIEW | View. |
| MATERIALIZED_VIEW | Materialized view. |
| STREAMING_TABLE | Streaming table. |
| UNKNOWN | Unknown table type. |
Definition at line 39 of file unity_catalog_types.h.
| std::string databricks::catalog_type_to_string | ( | CatalogTypeEnum | type | ) |
Convert CatalogTypeEnum to string representation.
| type | CatalogTypeEnum value |
| std::string databricks::cluster_state_to_string | ( | ClusterStateEnum | state | ) |
Convert ClusterStateEnum to string representation.
| state | ClusterStateEnum value |
| CatalogTypeEnum databricks::parse_catalog_type | ( | const std::string & | type_str | ) |
Parse a catalog type string into CatalogTypeEnum.
| type_str | String representation of the catalog type |
| ClusterStateEnum databricks::parse_cluster_state | ( | const std::string & | state_str | ) |
Parse a cluster state string into ClusterStateEnum.
| state_str | String representation of the cluster state |
| TableTypeEnum databricks::parse_table_type | ( | const std::string & | type_str | ) |
Parse a table type string into TableTypeEnum.
| type_str | String representation of the table type |
| std::string databricks::table_type_to_string | ( | TableTypeEnum | type | ) |
Convert TableTypeEnum to string representation.
| type | TableTypeEnum value |
| void databricks::to_json | ( | nlohmann::json & | j, |
| const CreateCatalogRequest & | req | ||
| ) |
Convert CreateCatalogRequest to JSON.
| void databricks::to_json | ( | nlohmann::json & | j, |
| const CreateSchemaRequest & | req | ||
| ) |
Convert CreateSchemaRequest to JSON.
| void databricks::to_json | ( | nlohmann::json & | j, |
| const UpdateCatalogRequest & | req | ||
| ) |
Convert UpdateCatalogRequest to JSON.
| void databricks::to_json | ( | nlohmann::json & | j, |
| const UpdateSchemaRequest & | req | ||
| ) |
Convert UpdateSchemaRequest to JSON.