列表属性-GET ddl/database /:db/table /:table/property

Description

列出 HCatalog 表的所有属性。

URL

http:// * www.myserver.com * /templeton/v1/ddl/database/ *:db * /table/ *:table * /property

Parameters

NameDescriptionRequired?Default
:db数据库名称RequiredNone
:table表名RequiredNone

standard parameters也受支持。

Results

NameDescription
properties表名称:值对的属性列表
database数据库名称
table表名

Example

Curl Command

% curl -s 'http://localhost:50111/templeton/v1/ddl/database/default/table/test_table/property?user.name=ctdean'

JSON Output

{
 "properties": {
   "fruit": "apple",
   "last_modified_by": "ctdean",
   "hcat.osd": "org.apache.hcatalog.rcfile.RCFileOutputDriver",
   "color": "blue",
   "last_modified_time": "1331620706",
   "hcat.isd": "org.apache.hcatalog.rcfile.RCFileInputDriver",
   "transient_lastDdlTime": "1331620706",
   "comment": "Best table made today",
   "country": "Albania"
 },
 "table": "test_table",
 "database": "default"
}

Navigation Links

上一个:PUT ddl/database/:db/table/:table/column/:column下一个:GET ddl/database/:db/table/:table/property/:property

一般:DDL ResourcesWebHCat ReferenceWebHCat ManualHCatalog ManualHive Wiki 主页Hive 项目 site