@InterfaceAudience.Public @InterfaceStability.Stable public class AlterPartitionEvent extends ListenerEvent
| Constructor and Description |
|---|
AlterPartitionEvent(org.apache.hadoop.hive.metastore.api.Partition oldPart,
org.apache.hadoop.hive.metastore.api.Partition newPart,
org.apache.hadoop.hive.metastore.api.Table table,
boolean isTruncateOp,
boolean status,
IHMSHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getIsTruncateOp()
Get the truncate table flag
|
org.apache.hadoop.hive.metastore.api.Partition |
getNewPartition() |
org.apache.hadoop.hive.metastore.api.Partition |
getOldPartition() |
org.apache.hadoop.hive.metastore.api.Table |
getTable()
Get the table this partition is in
|
getEnvironmentContext, getHandler, getIHMSHandler, getParameters, getStatus, putParameter, putParameters, setEnvironmentContextpublic AlterPartitionEvent(org.apache.hadoop.hive.metastore.api.Partition oldPart,
org.apache.hadoop.hive.metastore.api.Partition newPart,
org.apache.hadoop.hive.metastore.api.Table table,
boolean isTruncateOp,
boolean status,
IHMSHandler handler)
public org.apache.hadoop.hive.metastore.api.Partition getOldPartition()
public org.apache.hadoop.hive.metastore.api.Partition getNewPartition()
public org.apache.hadoop.hive.metastore.api.Table getTable()
public boolean getIsTruncateOp()
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.