Metastore interface
表示中繼存放區的介面。
方法
方法詳細資料
delete(string, MetastoreDeleteOptionalParams)
拿掉符號中的檔案
function delete(id: string, options?: MetastoreDeleteOptionalParams): Promise<void>
參數
- id
-
string
- options
- MetastoreDeleteOptionalParams
選項參數。
傳回
Promise<void>
getDatabaseOperations(string, MetastoreGetDatabaseOperationsOptionalParams)
取得資料庫的狀態
function getDatabaseOperations(id: string, options?: MetastoreGetDatabaseOperationsOptionalParams): Promise<MetastoreRequestSuccessResponse>
參數
- id
-
string
選項參數。
傳回
Promise<MetastoreRequestSuccessResponse>
register(string, MetastoreRegisterObject, MetastoreRegisterOptionalParams)
在符號中註冊檔案
function register(id: string, registerBody: MetastoreRegisterObject, options?: MetastoreRegisterOptionalParams): Promise<MetastoreRegistrationResponse>
參數
- id
-
string
要建立的資料庫名稱。 名稱只能包含英數位元,不應超過 24 個字元
- registerBody
- MetastoreRegisterObject
註冊要求的本文
- options
- MetastoreRegisterOptionalParams
選項參數。
傳回
Promise<MetastoreRegistrationResponse>
update(string, MetastoreUpdateObject, MetastoreUpdateOptionalParams)
更新符號中的檔案
function update(id: string, updateBody: MetastoreUpdateObject, options?: MetastoreUpdateOptionalParams): Promise<MetastoreUpdationResponse>
參數
- id
-
string
要更新的資料庫名稱
- updateBody
- MetastoreUpdateObject
更新要求的本文
- options
- MetastoreUpdateOptionalParams
選項參數。
傳回
Promise<MetastoreUpdationResponse>