public interface AlterHandler
| Modifier and Type | Method and Description |
|---|---|
Partition |
alterPartition(RawStore msdb,
Warehouse wh,
java.lang.String dbname,
java.lang.String name,
java.util.List<java.lang.String> part_vals,
Partition new_part)
handles alter partition
|
java.util.List<Partition> |
alterPartitions(RawStore msdb,
Warehouse wh,
java.lang.String dbname,
java.lang.String name,
java.util.List<Partition> new_part)
handles alter partitions
|
void |
alterTable(RawStore msdb,
Warehouse wh,
java.lang.String dbname,
java.lang.String name,
Table newTable)
handles alter table
|
void alterTable(RawStore msdb, Warehouse wh, java.lang.String dbname, java.lang.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 objectInvalidOperationException - thrown if the newTable object is invalidMetaException - thrown if there is any other erroPartition alterPartition(RawStore msdb, Warehouse wh, java.lang.String dbname, java.lang.String name, java.util.List<java.lang.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 objectInvalidOperationExceptionInvalidObjectExceptionAlreadyExistsExceptionMetaExceptionjava.util.List<Partition> alterPartitions(RawStore msdb, Warehouse wh, java.lang.String dbname, java.lang.String name, java.util.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 listInvalidOperationExceptionInvalidObjectExceptionAlreadyExistsExceptionMetaExceptionCopyright © 2012 The Apache Software Foundation