Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

List Databases — GET ddl/database

Table of Contents

Description

List the databases in HCatalog.

URL

http://www.myserver.com/templeton/v1/ddl/database

Parameters

Name

Description

Required?

Default

like

List only databases whose names match the specified pattern.

Optional

"*" (List all)

The standard parameters are also supported.

Results

Name

Description

databases

A list of database names.

Example

Curl Command

No Format
% curl -s 'http://localhost:50111/templeton/v1/ddl/database?user.name=ctdean&like=n*'

JSON Output

No Format
{
 "databases": [
   "newdb",
   "newdb2"
 ]
}


Panel
titleColorindigo
titleBGColorsilver
titleNavigation Links

Previous: POST ddl
Next: GET ddl/database/:db

General: DDL ResourcesWebHCat ReferenceWebHCat ManualHCatalog ManualHive Wiki HomeHive Project Site
Old version of this document (HCatalog 0.5.0): GET ddl/database