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 MetastoreInfocreate(CreateMetastore request)Create metastore.MetastoreInfocreate(String name, String storageRoot)voiddelete(DeleteAccountMetastoreRequest request)Delete a metastore.voiddelete(String metastoreId)MetastoreInfoget(GetAccountMetastoreRequest request)Get a metastore.MetastoreInfoget(String metastoreId)AccountMetastoresServiceimpl()ListMetastoresResponselist()Get all metastores associated with an account.MetastoreInfoupdate(UpdateMetastore request)Update a metastore.MetastoreInfoupdate(String metastoreId, String id)
-
-
-
Constructor Detail
-
AccountMetastoresAPI
public AccountMetastoresAPI(ApiClient apiClient)
Regular-use constructor
-
AccountMetastoresAPI
public AccountMetastoresAPI(AccountMetastoresService mock)
Constructor for mocks
-
-
Method Detail
-
create
public MetastoreInfo create(String name, String storageRoot)
-
create
public MetastoreInfo create(CreateMetastore request)
Create metastore.Creates a Unity Catalog metastore.
-
delete
public void delete(String metastoreId)
-
delete
public void delete(DeleteAccountMetastoreRequest request)
Delete a metastore.Deletes a Databricks Unity Catalog metastore for an account, both specified by ID.
-
get
public MetastoreInfo get(String metastoreId)
-
get
public MetastoreInfo get(GetAccountMetastoreRequest request)
Get a metastore.Gets a Databricks Unity Catalog metastore from an account, both specified by ID.
-
list
public ListMetastoresResponse list()
Get all metastores associated with an account.Gets all Unity Catalog metastores associated with an account specified by ID.
-
update
public MetastoreInfo update(String metastoreId, String id)
-
update
public MetastoreInfo update(UpdateMetastore request)
Update a metastore.Updates an existing Unity Catalog metastore.
-
impl
public AccountMetastoresService impl()
-
-