public class JSONOpenTxnMessage extends OpenTxnMessage
EventMessage.EventType
eventType
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, getEventType
public JSONOpenTxnMessage()
public JSONOpenTxnMessage(String server, String servicePrincipal, List<Long> txnIds, Long timestamp)
public List<Long> getTxnIds()
OpenTxnMessage
getTxnIds
in class OpenTxnMessage
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 © 2022 The Apache Software Foundation. All rights reserved.