public class JSONAbortTxnMessage extends AbortTxnMessage
EventMessage.EventTypeeventType| Constructor and Description |
|---|
JSONAbortTxnMessage()
Default constructor, needed for Jackson.
|
JSONAbortTxnMessage(String server,
String servicePrincipal,
Long txnid,
Long timestamp) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDB()
Getter for the name of the Database on which the Metastore operation is done.
|
String |
getServer()
Getter for HCatalog Server's URL.
|
String |
getServicePrincipal()
Getter for the Kerberos principal of the HCatalog service.
|
Long |
getTimestamp()
Getter for the timestamp associated with the operation.
|
Long |
getTxnId()
Get the transaction id to be aborted.
|
String |
toString() |
checkValid, getEventTypepublic JSONAbortTxnMessage()
public Long getTxnId()
AbortTxnMessagegetTxnId in class AbortTxnMessagepublic Long getTimestamp()
EventMessagegetTimestamp in class EventMessagepublic String getDB()
EventMessagegetDB in class EventMessagepublic String getServicePrincipal()
EventMessagegetServicePrincipal in class EventMessagepublic String getServer()
EventMessagegetServer in class EventMessageCopyright © 2019 The Apache Software Foundation. All Rights Reserved.