Metastore interface
表示元存储的接口。
方法
方法详细信息
delete(string, MetastoreDeleteOptionalParams)
删除 Syms 中的文件
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)
在 Syms 中注册文件
function register(id: string, registerBody: MetastoreRegisterObject, options?: MetastoreRegisterOptionalParams): Promise<MetastoreRegistrationResponse>
参数
- id
-
string
要创建的数据库的名称。 该名称只能包含字母数字字符,不应超过 24 个字符
- registerBody
- MetastoreRegisterObject
注册请求的正文
- options
- MetastoreRegisterOptionalParams
选项参数。
返回
Promise<MetastoreRegistrationResponse>
update(string, MetastoreUpdateObject, MetastoreUpdateOptionalParams)
更新 Syms 中的文件
function update(id: string, updateBody: MetastoreUpdateObject, options?: MetastoreUpdateOptionalParams): Promise<MetastoreUpdationResponse>
参数
- id
-
string
要更新的数据库的名称
- updateBody
- MetastoreUpdateObject
更新请求的正文
- options
- MetastoreUpdateOptionalParams
选项参数。
返回
Promise<MetastoreUpdationResponse>