Class AccountMetastoresAPI
- java.lang.Object
-
- com.databricks.sdk.service.catalog.AccountMetastoresAPI
-
@Generated public class AccountMetastoresAPI extends Object
These APIs manage Unity Catalog metastores for an account. A metastore contains catalogs that can be associated with workspaces
-
-
Constructor Summary
Constructors Constructor Description AccountMetastoresAPI(ApiClient apiClient)Regular-use constructorAccountMetastoresAPI(AccountMetastoresService mock)Constructor for mocks
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountsMetastoreInfocreate(AccountsCreateMetastore request)Create metastore.voiddelete(DeleteAccountMetastoreRequest request)Delete a metastore.voiddelete(String metastoreId)AccountsMetastoreInfoget(GetAccountMetastoreRequest request)Get a metastore.AccountsMetastoreInfoget(String metastoreId)AccountMetastoresServiceimpl()ListMetastoresResponselist()Get all metastores associated with an account.AccountsMetastoreInfoupdate(AccountsUpdateMetastore request)Update a metastore.AccountsMetastoreInfoupdate(String metastoreId)
-
-
-
Constructor Detail
-
AccountMetastoresAPI
public AccountMetastoresAPI(ApiClient apiClient)
Regular-use constructor
-
AccountMetastoresAPI
public AccountMetastoresAPI(AccountMetastoresService mock)
Constructor for mocks
-
-
Method Detail
-
create
public AccountsMetastoreInfo create(AccountsCreateMetastore request)
Create metastore.Creates a Unity Catalog metastore. Please add a header X-Databricks-Account-Console-API-Version: 2.0 to access this API.
-
delete
public void delete(String metastoreId)
-
delete
public void delete(DeleteAccountMetastoreRequest request)
Delete a metastore.Deletes a Unity Catalog metastore for an account, both specified by ID. Please add a header X-Databricks-Account-Console-API-Version: 2.0 to access this API.
-
get
public AccountsMetastoreInfo get(String metastoreId)
-
get
public AccountsMetastoreInfo get(GetAccountMetastoreRequest request)
Get a metastore.Gets a Unity Catalog metastore from an account, both specified by ID. Please add a header X-Databricks-Account-Console-API-Version: 2.0 to access this API.
-
list
public ListMetastoresResponse list()
Get all metastores associated with an account.Gets all Unity Catalog metastores associated with an account specified by ID. Please add a header X-Databricks-Account-Console-API-Version: 2.0 to access this API.
-
update
public AccountsMetastoreInfo update(String metastoreId)
-
update
public AccountsMetastoreInfo update(AccountsUpdateMetastore request)
Update a metastore.Updates an existing Unity Catalog metastore. Please add a header X-Databricks-Account-Console-API-Version: 2.0 to access this API.
-
impl
public AccountMetastoresService impl()
-
-