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