public class JSONAcidWriteMessage extends AcidWriteMessage
EventMessage.EventTypeeventType| Constructor and Description |
|---|
JSONAcidWriteMessage()
Default constructor, needed for Jackson.
|
JSONAcidWriteMessage(String server,
String servicePrincipal,
Long timestamp,
AcidWriteEvent acidWriteEvent,
Iterator<String> files) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDB()
Getter for the name of the Database on which the Metastore operation is done.
|
List<String> |
getFiles() |
String |
getPartition() |
Partition |
getPartitionObj() |
String |
getPartitionObjStr() |
String |
getServer()
Getter for HCatalog Server's URL.
|
String |
getServicePrincipal()
Getter for the Kerberos principal of the HCatalog service.
|
String |
getTable() |
Table |
getTableObj() |
String |
getTableObjStr() |
Long |
getTimestamp()
Getter for the timestamp associated with the operation.
|
Long |
getTxnId() |
Long |
getWriteId() |
String |
toString() |
checkValid, getEventTypepublic JSONAcidWriteMessage()
public Long getTxnId()
getTxnId in class AcidWriteMessagepublic Long getTimestamp()
EventMessagegetTimestamp in class EventMessagepublic String getDB()
EventMessagegetDB in class EventMessagepublic String getServicePrincipal()
EventMessagegetServicePrincipal in class EventMessagepublic String getServer()
EventMessagegetServer in class EventMessagepublic String getTable()
getTable in class AcidWriteMessagepublic Long getWriteId()
getWriteId in class AcidWriteMessagepublic String getPartition()
getPartition in class AcidWriteMessagepublic List<String> getFiles()
getFiles in class AcidWriteMessagepublic Table getTableObj() throws Exception
getTableObj in class AcidWriteMessageExceptionpublic Partition getPartitionObj() throws Exception
getPartitionObj in class AcidWriteMessageExceptionpublic String getTableObjStr()
getTableObjStr in class AcidWriteMessagepublic String getPartitionObjStr()
getPartitionObjStr in class AcidWriteMessageCopyright © 2024 The Apache Software Foundation. All rights reserved.