public class JSONAcidWriteMessage extends AcidWriteMessage
EventMessage.EventType
eventType
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, getEventType
public JSONAcidWriteMessage()
public Long getTxnId()
getTxnId
in class AcidWriteMessage
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
public String getTable()
getTable
in class AcidWriteMessage
public Long getWriteId()
getWriteId
in class AcidWriteMessage
public String getPartition()
getPartition
in class AcidWriteMessage
public List<String> getFiles()
getFiles
in class AcidWriteMessage
public Table getTableObj() throws Exception
getTableObj
in class AcidWriteMessage
Exception
public Partition getPartitionObj() throws Exception
getPartitionObj
in class AcidWriteMessage
Exception
public String getTableObjStr()
getTableObjStr
in class AcidWriteMessage
public String getPartitionObjStr()
getPartitionObjStr
in class AcidWriteMessage
Copyright © 2023 The Apache Software Foundation. All rights reserved.