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
#alterPartition(RawStore, Warehouse, String,
String, List, Partition, EnvironmentContext, HMSHandler)
handles alter partition |
Partition |
alterPartition(RawStore msdb,
Warehouse wh,
String dbname,
String name,
List<String> part_vals,
Partition new_part,
EnvironmentContext environmentContext,
HiveMetaStore.HMSHandler handler)
handles alter partition
|
List<Partition> |
alterPartitions(RawStore msdb,
Warehouse wh,
String dbname,
String name,
List<Partition> new_parts,
EnvironmentContext environmentContext)
Deprecated.
As of release 2.2.0. Replaced by
#alterPartitions(RawStore, Warehouse, String,
String, List, EnvironmentContext, HMSHandler)
handles alter partitions |
List<Partition> |
alterPartitions(RawStore msdb,
Warehouse wh,
String dbname,
String name,
List<Partition> new_parts,
EnvironmentContext environmentContext,
HiveMetaStore.HMSHandler handler)
handles alter partitions
|
void |
alterTable(RawStore msdb,
Warehouse wh,
String dbname,
String name,
Table newTable,
EnvironmentContext envContext)
Deprecated.
As of release 2.2.0. Replaced by
#alterTable(RawStore, Warehouse, String,
String, Table, EnvironmentContext, HMSHandler)
handles alter table, the changes could be cascaded to partitions if applicable |
void |
alterTable(RawStore msdb,
Warehouse wh,
String dbname,
String name,
Table newTable,
EnvironmentContext envContext,
HiveMetaStore.HMSHandler handler)
handles alter table, the changes could be cascaded to partitions if applicable
|
@Deprecated void alterTable(RawStore msdb, Warehouse wh, String dbname, String name, Table newTable, EnvironmentContext envContext) throws InvalidOperationException, MetaException
#alterTable(RawStore, Warehouse, String,
String, Table, EnvironmentContext, HMSHandler)
handles alter table, the changes could be cascaded to partitions if applicablemsdb
- object to get metadatawh
- Hive Warehouse where table data is storeddbname
- 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 dbname, String name, Table newTable, EnvironmentContext envContext, HiveMetaStore.HMSHandler handler) throws InvalidOperationException, MetaException
msdb
- object to get metadatawh
- Hive Warehouse where table data is storeddbname
- 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
#alterPartition(RawStore, Warehouse, String,
String, List, Partition, EnvironmentContext, HMSHandler)
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 objectInvalidOperationException
InvalidObjectException
AlreadyExistsException
MetaException
Partition alterPartition(RawStore msdb, Warehouse wh, String dbname, String name, List<String> part_vals, Partition new_part, EnvironmentContext environmentContext, HiveMetaStore.HMSHandler handler) 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 objecthandler
- HMSHandle object (required to log event notification)InvalidOperationException
InvalidObjectException
AlreadyExistsException
MetaException
@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, List, EnvironmentContext, HMSHandler)
handles alter partitionsmsdb
- object to get metadatawh
- dbname
- database of the partition being alteredname
- table of the partition being alterednew_parts
- new partition listInvalidOperationException
InvalidObjectException
AlreadyExistsException
MetaException
List<Partition> alterPartitions(RawStore msdb, Warehouse wh, String dbname, String name, List<Partition> new_parts, EnvironmentContext environmentContext, HiveMetaStore.HMSHandler 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)InvalidOperationException
InvalidObjectException
AlreadyExistsException
MetaException
Copyright © 2021 The Apache Software Foundation. All rights reserved.