public interface AlterHandler
extends org.apache.hadoop.conf.Configurable
| Modifier and Type | Method and Description |
|---|---|
Partition |
alterPartition(RawStore msdb,
Warehouse wh,
String dbname,
String name,
List<String> part_vals,
Partition new_part,
EnvironmentContext environmentContext)
Deprecated.
As of release 2.2.0. Replaced by
alterPartitions(RawStore, Warehouse, String,
String, String, List, EnvironmentContext, String, long, IHMSHandler)
handles alter partition |
Partition |
alterPartition(RawStore msdb,
Warehouse wh,
String catName,
String dbname,
String name,
List<String> part_vals,
Partition new_part,
EnvironmentContext environmentContext,
IHMSHandler handler,
String validWriteIds)
handles alter partition
|
List<Partition> |
alterPartitions(RawStore msdb,
Warehouse wh,
String dbname,
String name,
List<Partition> new_parts,
EnvironmentContext environmentContext)
Deprecated.
As of release 3.0.0. Replaced by
alterPartitions(RawStore, Warehouse, String,
String, String, List, EnvironmentContext, String, long, IHMSHandler)
handles alter partitions |
List<Partition> |
alterPartitions(RawStore msdb,
Warehouse wh,
String catName,
String dbname,
String name,
List<Partition> new_parts,
EnvironmentContext environmentContext,
String writeIdList,
long writeId,
IHMSHandler handler)
handles alter partitions
|
default void |
alterTable(RawStore msdb,
Warehouse wh,
String catName,
String dbname,
String name,
Table newTable,
EnvironmentContext envContext)
Deprecated.
As of release 2.2.0. Replaced by
alterTable(RawStore, Warehouse, String,
String, String, Table, EnvironmentContext, IHMSHandler, String)
handles alter table, the changes could be cascaded to partitions if applicable |
void |
alterTable(RawStore msdb,
Warehouse wh,
String catName,
String dbname,
String name,
Table newTable,
EnvironmentContext envContext,
IHMSHandler handler,
String writeIdList)
handles alter table, the changes could be cascaded to partitions if applicable
|
@Deprecated default void alterTable(RawStore msdb, Warehouse wh, String catName, String dbname, String name, Table newTable, EnvironmentContext envContext) throws InvalidOperationException, MetaException
alterTable(RawStore, Warehouse, String,
String, String, Table, EnvironmentContext, IHMSHandler, String)
handles alter table, the changes could be cascaded to partitions if applicablemsdb - object to get metadatawh - Hive Warehouse where table data is storedcatName - catalog of the table being altereddbname - 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 errorvoid alterTable(RawStore msdb, Warehouse wh, String catName, String dbname, String name, Table newTable, EnvironmentContext envContext, IHMSHandler handler, String writeIdList) throws InvalidOperationException, MetaException
msdb - object to get metadatawh - Hive Warehouse where table data is storedcatName - catalog of the table being altereddbname - 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 objecthandler - HMSHandle object (required to log event notification)InvalidOperationException - thrown if the newTable object is invalidMetaException - thrown if there is any other error@Deprecated Partition alterPartition(RawStore msdb, Warehouse wh, String dbname, String name, List<String> part_vals, Partition new_part, EnvironmentContext environmentContext) throws InvalidOperationException, InvalidObjectException, AlreadyExistsException, MetaException, NoSuchObjectException
alterPartitions(RawStore, Warehouse, String,
String, String, List, EnvironmentContext, String, long, IHMSHandler)
handles alter partitionmsdb - 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 objectInvalidOperationExceptionInvalidObjectExceptionAlreadyExistsExceptionMetaExceptionNoSuchObjectExceptionPartition alterPartition(RawStore msdb, Warehouse wh, String catName, String dbname, String name, List<String> part_vals, Partition new_part, EnvironmentContext environmentContext, IHMSHandler handler, String validWriteIds) throws InvalidOperationException, InvalidObjectException, AlreadyExistsException, MetaException, NoSuchObjectException
msdb - object to get metadatawh - physical warehouse classcatName - catalog namedbname - database of the partition being alteredname - table of the partition being alteredpart_vals - original values of the partition being alterednew_part - new partition objecthandler - HMSHandle object (required to log event notification)InvalidOperationExceptionInvalidObjectExceptionAlreadyExistsExceptionMetaExceptionNoSuchObjectException@Deprecated List<Partition> alterPartitions(RawStore msdb, Warehouse wh, String dbname, String name, List<Partition> new_parts, EnvironmentContext environmentContext) throws InvalidOperationException, InvalidObjectException, AlreadyExistsException, MetaException
alterPartitions(RawStore, Warehouse, String,
String, String, List, EnvironmentContext, String, long, IHMSHandler)
handles alter partitionsmsdb - object to get metadatawh - dbname - database of the partition being alteredname - table of the partition being alterednew_parts - new partition listInvalidOperationExceptionInvalidObjectExceptionAlreadyExistsExceptionMetaExceptionList<Partition> alterPartitions(RawStore msdb, Warehouse wh, String catName, String dbname, String name, List<Partition> new_parts, EnvironmentContext environmentContext, String writeIdList, long writeId, IHMSHandler handler) 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 listhandler - HMSHandle object (required to log event notification)InvalidOperationExceptionInvalidObjectExceptionAlreadyExistsExceptionMetaExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.