org.apache.hadoop.hive.metastore
Interface AlterHandler
- All Superinterfaces:
- org.apache.hadoop.conf.Configurable
- All Known Implementing Classes:
- HiveAlterHandler
public interface AlterHandler
- extends org.apache.hadoop.conf.Configurable
Interface for Alter Table and Alter Partition code
Methods inherited from interface org.apache.hadoop.conf.Configurable |
getConf, setConf |
alterTable
void alterTable(RawStore msdb,
Warehouse wh,
String dbname,
String name,
Table newTable)
throws InvalidOperationException,
MetaException
- handles alter table
- Parameters:
msdb
- object to get metadatawh
- TODOdbname
- database of the table being alteredname
- original name of the table being altered. same as
newTable.tableName if alter op is not a rename.newTable
- new table object
- Throws:
InvalidOperationException
- thrown if the newTable object is invalid
MetaException
- thrown if there is any other erro
Copyright © 2009 The Apache Software Foundation