通过


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Metastore interface

表示元存储的接口。

方法

delete(string, MetastoreDeleteOptionalParams)

删除 Syms 中的文件

getDatabaseOperations(string, MetastoreGetDatabaseOperationsOptionalParams)

获取数据库的状态

register(string, MetastoreRegisterObject, MetastoreRegisterOptionalParams)

在 Syms 中注册文件

update(string, MetastoreUpdateObject, MetastoreUpdateOptionalParams)

更新 Syms 中的文件

方法详细信息

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

返回

register(string, MetastoreRegisterObject, MetastoreRegisterOptionalParams)

在 Syms 中注册文件

function register(id: string, registerBody: MetastoreRegisterObject, options?: MetastoreRegisterOptionalParams): Promise<MetastoreRegistrationResponse>

参数

id

string

要创建的数据库的名称。 该名称只能包含字母数字字符,不应超过 24 个字符

registerBody
MetastoreRegisterObject

注册请求的正文

options
MetastoreRegisterOptionalParams

选项参数。

返回

update(string, MetastoreUpdateObject, MetastoreUpdateOptionalParams)

更新 Syms 中的文件

function update(id: string, updateBody: MetastoreUpdateObject, options?: MetastoreUpdateOptionalParams): Promise<MetastoreUpdationResponse>

参数

id

string

要更新的数据库的名称

updateBody
MetastoreUpdateObject

更新请求的正文

options
MetastoreUpdateOptionalParams

选项参数。

返回