public abstract class AbstractAlterTableOperation<T extends AbstractAlterTableDesc> extends DDLOperation<T>
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.hadoop.hive.metastore.api.EnvironmentContext |
environmentContext |
context, desc, LOG| Constructor and Description |
|---|
AbstractAlterTableOperation(DDLOperationContext context,
T desc) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
doAlteration(Table table,
Partition partition) |
int |
execute() |
protected org.apache.hadoop.hive.metastore.api.StorageDescriptor |
getStorageDescriptor(Table tbl,
Partition part) |
protected org.apache.hadoop.hive.metastore.api.EnvironmentContext environmentContext
public AbstractAlterTableOperation(DDLOperationContext context, T desc)
public int execute()
throws HiveException
execute in class DDLOperation<T extends AbstractAlterTableDesc>HiveExceptionprotected abstract void doAlteration(Table table, Partition partition) throws HiveException
HiveExceptionprotected org.apache.hadoop.hive.metastore.api.StorageDescriptor getStorageDescriptor(Table tbl, Partition part)
Copyright © 2022 The Apache Software Foundation. All rights reserved.