60 explicit UnityCatalog(std::shared_ptr<internal::IHttpClient> http_client);
180 std::vector<TableInfo>
list_tables(
const std::string& catalog_name,
181 const std::string& schema_name);
206 std::unique_ptr<Impl> pimpl_;
209 static CatalogInfo parse_catalog(
const std::string& json_str);
210 static std::vector<CatalogInfo> parse_catalog_list(
const std::string& json_str);
211 static SchemaInfo parse_schema(
const std::string& json_str);
212 static std::vector<SchemaInfo> parse_schema_list(
const std::string& json_str);
213 static TableInfo parse_table(
const std::string& json_str);
214 static std::vector<TableInfo> parse_table_list(
const std::string& json_str);
215 static ColumnInfo parse_column(
const std::string& json_str);
Client for interacting with the Databricks Unity Catalog API.
UnityCatalog(const UnityCatalog &)=delete
SchemaInfo create_schema(const CreateSchemaRequest &request)
Create a new schema.
std::vector< SchemaInfo > list_schemas(const std::string &catalog_name)
List all schemas in a catalog.
std::vector< TableInfo > list_tables(const std::string &catalog_name, const std::string &schema_name)
List all tables in a schema.
CatalogInfo create_catalog(const CreateCatalogRequest &request)
Create a new catalog.
TableInfo get_table(const std::string &full_name)
Get detailed information about a specific table.
std::vector< CatalogInfo > list_catalogs()
List all catalogs in the metastore.
CatalogInfo get_catalog(const std::string &catalog_name)
Get detailed information about a specific catalog.
UnityCatalog(std::shared_ptr< internal::IHttpClient > http_client)
Construct a Unity Catalog API client with dependency injection (for testing)
CatalogInfo update_catalog(const UpdateCatalogRequest &request)
Update an existing catalog.
bool delete_catalog(const std::string &catalog_name, bool force=false)
Delete a catalog.
~UnityCatalog()
Destructor.
UnityCatalog(const AuthConfig &auth, const std::string &api_version="2.1")
Construct a Unity Catalog API client.
SchemaInfo update_schema(const UpdateSchemaRequest &request)
Update an existing schema.
bool delete_table(const std::string &full_name)
Delete a table.
UnityCatalog & operator=(const UnityCatalog &)=delete
bool delete_schema(const std::string &full_name)
Delete a schema.
SchemaInfo get_schema(const std::string &full_name)
Get detailed information about a specific schema.
Core authentication configuration shared across all Databricks features.
Represents a Unity Catalog catalog.
Represents column information.
Configuration for creating a catalog.
Configuration for creating a schema.
Represents a Unity Catalog schema.
Represents a Unity Catalog table.
Configuration for updating a catalog.
Configuration for updating a schema.