@Generated public class AccountMetastoresAPI extends Object
| Constructor and Description |
|---|
AccountMetastoresAPI(AccountMetastoresService mock)
Constructor for mocks
|
AccountMetastoresAPI(ApiClient apiClient)
Regular-use constructor
|
| Modifier and Type | Method and Description |
|---|---|
AccountsMetastoreInfo |
create(AccountsCreateMetastore request)
Create metastore.
|
void |
delete(DeleteAccountMetastoreRequest request)
Delete a metastore.
|
void |
delete(String metastoreId) |
AccountsMetastoreInfo |
get(GetAccountMetastoreRequest request)
Get a metastore.
|
AccountsMetastoreInfo |
get(String metastoreId) |
AccountMetastoresService |
impl() |
Iterable<MetastoreInfo> |
list()
Get all metastores associated with an account.
|
AccountsMetastoreInfo |
update(AccountsUpdateMetastore request)
Update a metastore.
|
AccountsMetastoreInfo |
update(String metastoreId) |
public AccountMetastoresAPI(ApiClient apiClient)
public AccountMetastoresAPI(AccountMetastoresService mock)
public AccountsMetastoreInfo create(AccountsCreateMetastore request)
Creates a Unity Catalog metastore.
public void delete(String metastoreId)
public void delete(DeleteAccountMetastoreRequest request)
Deletes a Unity Catalog metastore for an account, both specified by ID.
public AccountsMetastoreInfo get(String metastoreId)
public AccountsMetastoreInfo get(GetAccountMetastoreRequest request)
Gets a Unity Catalog metastore from an account, both specified by ID.
public Iterable<MetastoreInfo> list()
Gets all Unity Catalog metastores associated with an account specified by ID.
public AccountsMetastoreInfo update(String metastoreId)
public AccountsMetastoreInfo update(AccountsUpdateMetastore request)
Updates an existing Unity Catalog metastore.
public AccountMetastoresService impl()
Copyright © 2024. All rights reserved.