|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AlterHandler
Interface for Alter Table and Alter Partition code
| Method Summary | |
|---|---|
Partition |
alterPartition(RawStore msdb,
Warehouse wh,
String dbname,
String name,
List<String> part_vals,
Partition new_part)
handles alter partition |
List<Partition> |
alterPartitions(RawStore msdb,
Warehouse wh,
String dbname,
String name,
List<Partition> new_part)
handles alter partitions |
void |
alterTable(RawStore msdb,
Warehouse wh,
String dbname,
String name,
Table newTable)
handles alter table |
| Methods inherited from interface org.apache.hadoop.conf.Configurable |
|---|
getConf, setConf |
| Method Detail |
|---|
void alterTable(RawStore msdb,
Warehouse wh,
String dbname,
String name,
Table newTable)
throws InvalidOperationException,
MetaException
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
InvalidOperationException - thrown if the newTable object is invalid
MetaException - thrown if there is any other erro
Partition alterPartition(RawStore msdb,
Warehouse wh,
String dbname,
String name,
List<String> part_vals,
Partition new_part)
throws InvalidOperationException,
InvalidObjectException,
AlreadyExistsException,
MetaException
msdb - object to get metadatawh - dbname - database of the partition being alteredname - table of the partition being alteredpart_vals - original values of the partition being alterednew_part - new partition object
InvalidOperationException
InvalidObjectException
AlreadyExistsException
MetaException
List<Partition> alterPartitions(RawStore msdb,
Warehouse wh,
String dbname,
String name,
List<Partition> new_part)
throws InvalidOperationException,
InvalidObjectException,
AlreadyExistsException,
MetaException
msdb - object to get metadatawh - dbname - database of the partition being alteredname - table of the partition being alterednew_parts - new partition list
InvalidOperationException
InvalidObjectException
AlreadyExistsException
MetaException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||