public class JSONCommitCompactionMessage extends CommitCompactionMessage
EventMessage.EventTypeeventType| Constructor and Description |
|---|
JSONCommitCompactionMessage()
Default constructor, needed for Jackson.
|
JSONCommitCompactionMessage(String server,
String servicePrincipal,
long timestamp,
CommitCompactionEvent event) |
| Modifier and Type | Method and Description |
|---|---|
Long |
getCompactionId() |
String |
getDB()
Getter for the name of the Database on which the Metastore operation is done.
|
String |
getDbname() |
String |
getPartName() |
String |
getServer()
Getter for HCatalog Server's URL.
|
String |
getServicePrincipal()
Getter for the Kerberos principal of the HCatalog service.
|
String |
getTableName() |
Long |
getTimestamp()
Getter for the timestamp associated with the operation.
|
Long |
getTxnId() |
CompactionType |
getType() |
String |
toString() |
checkValid, getEventTypepublic JSONCommitCompactionMessage()
public JSONCommitCompactionMessage(String server, String servicePrincipal, long timestamp, CommitCompactionEvent event)
public Long getTimestamp()
EventMessagegetTimestamp in class EventMessagepublic String getServicePrincipal()
EventMessagegetServicePrincipal in class EventMessagepublic String getServer()
EventMessagegetServer in class EventMessagepublic String getDB()
EventMessagegetDB in class EventMessagepublic Long getTxnId()
getTxnId in class CommitCompactionMessagepublic Long getCompactionId()
getCompactionId in class CommitCompactionMessagepublic CompactionType getType()
getType in class CommitCompactionMessagepublic String getDbname()
getDbname in class CommitCompactionMessagepublic String getTableName()
getTableName in class CommitCompactionMessagepublic String getPartName()
getPartName in class CommitCompactionMessageCopyright © 2024 The Apache Software Foundation. All rights reserved.