public class JSONAlterPartitionMessage extends AlterPartitionMessage
EventMessage.EventTypeeventType| Constructor and Description |
|---|
JSONAlterPartitionMessage()
Default constructor, needed for Jackson.
|
JSONAlterPartitionMessage(String server,
String servicePrincipal,
Table tableObj,
Partition partitionObjBefore,
Partition partitionObjAfter,
boolean isTruncateOp,
Long writeId,
Long timestamp) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDB()
Getter for the name of the Database on which the Metastore operation is done.
|
boolean |
getIsTruncateOp() |
Map<String,String> |
getKeyValues() |
String |
getPartitionObjAfterJson() |
String |
getPartitionObjBeforeJson() |
Partition |
getPtnObjAfter() |
Partition |
getPtnObjBefore() |
String |
getServer()
Getter for HCatalog Server's URL.
|
String |
getServicePrincipal()
Getter for the Kerberos principal of the HCatalog service.
|
String |
getTable() |
Table |
getTableObj() |
String |
getTableObjJson() |
String |
getTableType() |
Long |
getTimestamp()
Getter for the timestamp associated with the operation.
|
Long |
getWriteId() |
String |
toString() |
checkValidgetEventTypepublic JSONAlterPartitionMessage()
public String getServer()
EventMessagegetServer in class EventMessagepublic String getServicePrincipal()
EventMessagegetServicePrincipal in class EventMessagepublic String getDB()
EventMessagegetDB in class EventMessagepublic Long getTimestamp()
EventMessagegetTimestamp in class EventMessagepublic String getTable()
getTable in class AlterPartitionMessagepublic String getTableType()
getTableType in class AlterPartitionMessagepublic boolean getIsTruncateOp()
getIsTruncateOp in class AlterPartitionMessagepublic Map<String,String> getKeyValues()
getKeyValues in class AlterPartitionMessagepublic Table getTableObj() throws Exception
getTableObj in class AlterPartitionMessageExceptionpublic Partition getPtnObjBefore() throws Exception
getPtnObjBefore in class AlterPartitionMessageExceptionpublic Partition getPtnObjAfter() throws Exception
getPtnObjAfter in class AlterPartitionMessageExceptionpublic String getTableObjJson()
public String getPartitionObjBeforeJson()
public String getPartitionObjAfterJson()
public Long getWriteId()
getWriteId in class AlterPartitionMessageCopyright © 2024 The Apache Software Foundation. All rights reserved.