public class JSONOpenTxnMessage extends OpenTxnMessage
EventMessage.EventTypeeventType| Constructor and Description |
|---|
JSONOpenTxnMessage()
Default constructor, needed for Jackson.
|
JSONOpenTxnMessage(String server,
String servicePrincipal,
List<Long> txnIds,
Long timestamp) |
JSONOpenTxnMessage(String server,
String servicePrincipal,
Long fromTxnId,
Long toTxnId,
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.
|
List<Long> |
getTxnIds()
Get the list of txns opened
|
String |
toString() |
checkValid, getEventTypepublic JSONOpenTxnMessage()
public JSONOpenTxnMessage(String server, String servicePrincipal, List<Long> txnIds, Long timestamp)
public List<Long> getTxnIds()
OpenTxnMessagegetTxnIds in class OpenTxnMessagepublic 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.