public class JSONAbortTxnMessage extends AbortTxnMessage
EventMessage.EventType
eventType
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, getEventType
public JSONAbortTxnMessage()
public Long getTxnId()
AbortTxnMessage
getTxnId
in class AbortTxnMessage
public Long getTimestamp()
EventMessage
getTimestamp
in class EventMessage
public String getDB()
EventMessage
getDB
in class EventMessage
public String getServicePrincipal()
EventMessage
getServicePrincipal
in class EventMessage
public String getServer()
EventMessage
getServer
in class EventMessage
Copyright © 2019 The Apache Software Foundation. All rights reserved.