Obtém tabelas de diferentes tipos de fonte de dados em um locatário por página.
Experimente agora
Testar
Autorização RAM
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| PageSize |
integer |
Não |
O número de entradas exibidas em cada página. O valor padrão é 10 e o valor máximo é 100. |
10 |
| DataSourceType |
string |
Sim |
O tipo da fonte de dados. Valores válidos: ODPS, emr, mysql, holo, analyticdb_for_mysql, oracle, postgresql, sqlserver, clickhouse e starrocks. |
odps |
| NextToken |
string |
Não |
Informações de paginação, que especificam o ponto inicial desta leitura. |
12222 |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
Os parâmetros de resposta. |
||
| RequestId |
string |
O ID da solicitação. |
E25887B7-579C-54A5-9C4F-83A**** |
| Data |
object |
Os dados retornados. |
|
| Total |
integer |
O número total. |
100 |
| TableEntityList |
array<object> |
Uma lista de entidades. |
|
|
array<object> |
As informações sobre a tabela. |
||
| EntityQualifiedName |
string |
The unique identifier of the table entity. |
maxcompute-table.project.table |
| EntityContent |
object |
The information about the table. |
|
| TableName |
string |
The name of the table. |
table |
| DataSourceQualifiedName |
string |
The unique identifier of the data source. |
accountId:cn-shanghai:odps:project |
| DataSourceUniqueId |
string |
The unique ID of the data source identifier. |
e70f92239d491057f6a2563b545bdaf8cc6b537d9dc55ec84c55f7cfefg |
| DatabaseName |
string |
The name of the database. |
database |
| ProjectName |
string |
The name of the ODPS project. |
project |
| InstanceId |
string |
The ID of the data source instance. |
rm-uf6rn0123 |
| NextToken |
string |
Informações de paginação, que especificam o ponto inicial da próxima leitura. |
AAAAAVY3rYiv9VoUJQSiCitgjgSwg+byk0FIjirFkm4zfM4G0xYwM/FQvOhgrTHsCPIZ5yqXYu2NG6qRCRC52HvwbOA= |
Exemplos
Resposta de sucesso
JSON formato
{
"RequestId": "E25887B7-579C-54A5-9C4F-83A****",
"Data": {
"Total": 100,
"TableEntityList": [
{
"EntityQualifiedName": "maxcompute-table.project.table",
"EntityContent": {
"TableName": "table",
"DataSourceQualifiedName": "accountId:cn-shanghai:odps:project",
"DataSourceUniqueId": "e70f92239d491057f6a2563b545bdaf8cc6b537d9dc55ec84c55f7cfefg",
"DatabaseName": "database",
"ProjectName": "project",
"InstanceId": "rm-uf6rn0123"
}
}
],
"NextToken": "AAAAAVY3rYiv9VoUJQSiCitgjgSwg+byk0FIjirFkm4zfM4G0xYwM/FQvOhgrTHsCPIZ5yqXYu2NG6qRCRC52HvwbOA="
}
}
Códigos de erro
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.