@InterfaceAudience.Public @InterfaceStability.Stable public class AlterPartitionEvent extends ListenerEvent
Constructor and Description |
---|
AlterPartitionEvent(Partition oldPart,
Partition newPart,
Table table,
boolean isTruncateOp,
boolean status,
Long writeId,
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
|
Long |
getWriteId() |
getEnvironmentContext, getHandler, getIHMSHandler, getParameters, getStatus, putParameter, putParameters, setEnvironmentContext
public AlterPartitionEvent(Partition oldPart, Partition newPart, Table table, boolean isTruncateOp, boolean status, Long writeId, IHMSHandler handler)
public Partition getOldPartition()
public Partition getNewPartition()
public Table getTable()
public boolean getIsTruncateOp()
public Long getWriteId()
Copyright © 2022 The Apache Software Foundation. All rights reserved.