Package | Description |
---|---|
org.apache.hive.hcatalog.templeton |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
Server.addOneColumn(String db,
String table,
String column,
ColumnDesc desc)
Create a column in an hcat table.
|
javax.ws.rs.core.Response |
HcatDelegator.addOneColumn(String user,
String db,
String table,
ColumnDesc desc)
Add one column.
|
javax.ws.rs.core.Response |
Server.addOnePartition(String db,
String table,
String partition,
PartitionDesc desc)
Create a partition in an hcat table.
|
javax.ws.rs.core.Response |
HcatDelegator.addOnePartition(String user,
String db,
String table,
PartitionDesc desc)
Add one partition.
|
javax.ws.rs.core.Response |
Server.addOneTableProperty(String db,
String table,
String property,
TablePropertyDesc desc)
Add a single property on an hcat table.
|
javax.ws.rs.core.Response |
HcatDelegator.addOneTableProperty(String user,
String db,
String table,
TablePropertyDesc desc)
Add one table property.
|
javax.ws.rs.core.Response |
Server.createDatabase(String db,
DatabaseDesc desc)
Create a database
|
javax.ws.rs.core.Response |
HcatDelegator.createDatabase(String user,
DatabaseDesc desc)
Create a database with the given name
|
javax.ws.rs.core.Response |
HcatDelegator.createTable(String user,
String db,
TableDesc desc)
Create a table.
|
javax.ws.rs.core.Response |
HcatDelegator.createTableLike(String user,
String db,
TableLikeDesc desc)
Create a table like another.
|
javax.ws.rs.core.Response |
Server.descDatabase(String db,
String format)
Describe a database
|
javax.ws.rs.core.Response |
HcatDelegator.descDatabase(String user,
String db,
boolean extended)
Return a json description of the database.
|
javax.ws.rs.core.Response |
HcatDelegator.descExtendedTable(String user,
String db,
String table)
Return a json "show table extended like" with extra info from "desc exteded"
This will return table with exact name match.
|
javax.ws.rs.core.Response |
HcatDelegator.descOnePartition(String user,
String db,
String table,
String partition)
Return a json description of one partition.
|
javax.ws.rs.core.Response |
Server.descOneTableProperty(String db,
String table,
String property)
Describe a single property on an hcat table.
|
javax.ws.rs.core.Response |
Server.descPartition(String db,
String table,
String partition)
Describe a single partition in an hcat table.
|
javax.ws.rs.core.Response |
Server.descTable(String db,
String table,
String format)
Describe an hcat table.
|
javax.ws.rs.core.Response |
HcatDelegator.descTable(String user,
String db,
String table,
boolean extended)
Return a json description of the table.
|
javax.ws.rs.core.Response |
HcatDelegator.descTableProperty(String user,
String db,
String table,
String property)
Describe one table property.
|
javax.ws.rs.core.Response |
Server.dropDatabase(String db,
boolean ifExists,
String option,
String group,
String permissions)
Drop a database
|
javax.ws.rs.core.Response |
HcatDelegator.dropDatabase(String user,
String db,
boolean ifExists,
String option,
String group,
String permissions)
Drop the given database
|
javax.ws.rs.core.Response |
Server.dropPartition(String db,
String table,
String partition,
boolean ifExists,
String group,
String permissions)
Drop a partition in an hcat table.
|
javax.ws.rs.core.Response |
HcatDelegator.dropPartition(String user,
String db,
String table,
String partition,
boolean ifExists,
String group,
String permissions)
Drop a partition.
|
javax.ws.rs.core.Response |
Server.dropTable(String db,
String table,
boolean ifExists,
String group,
String permissions)
Drop an hcat table.
|
javax.ws.rs.core.Response |
HcatDelegator.dropTable(String user,
String db,
String table,
boolean ifExists,
String group,
String permissions)
Drop a table.
|
javax.ws.rs.core.Response |
Server.listColumns(String db,
String table)
List the columns in an hcat table.
|
javax.ws.rs.core.Response |
HcatDelegator.listColumns(String user,
String db,
String table)
Return a json description of the columns.
|
javax.ws.rs.core.Response |
Server.listDatabases(String dbPattern)
List all databases, or those that match a pattern.
|
javax.ws.rs.core.Response |
HcatDelegator.listDatabases(String user,
String dbPattern)
Return a json "show databases like".
|
javax.ws.rs.core.Response |
Server.listPartitions(String db,
String table)
List all the partitions in an hcat table.
|
javax.ws.rs.core.Response |
HcatDelegator.listPartitions(String user,
String db,
String table)
Return a json description of the partitions.
|
javax.ws.rs.core.Response |
Server.listTableProperties(String db,
String table)
List all the properties on an hcat table.
|
javax.ws.rs.core.Response |
HcatDelegator.listTableProperties(String user,
String db,
String table)
List the table properties.
|
javax.ws.rs.core.Response |
Server.listTables(String db,
String tablePattern)
List all the tables in an hcat database.
|
javax.ws.rs.core.Response |
HcatDelegator.listTables(String user,
String db,
String tablePattern)
Return a json "show table like".
|
javax.ws.rs.core.Response |
Server.renameTable(String db,
String oldTable,
String newTable,
String group,
String permissions)
Rename an hcat table.
|
javax.ws.rs.core.Response |
HcatDelegator.renameTable(String user,
String db,
String oldTable,
String newTable,
String group,
String permissions)
Rename a table.
|
Copyright © 2016 The Apache Software Foundation. All rights reserved.