public class JSONReloadMessage extends ReloadMessage
EventMessage.EventTypeeventType| Constructor and Description |
|---|
JSONReloadMessage()
Default constructor, needed for Jackson.
|
JSONReloadMessage(String server,
String servicePrincipal,
Table tableObj,
Partition ptnObj,
boolean refreshEvent,
Long timestamp) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDB()
Getter for the name of the Database on which the Metastore operation is done.
|
Partition |
getPtnObj()
Get the partition object associated with the insert
|
String |
getServer()
Getter for HCatalog Server's URL.
|
String |
getServicePrincipal()
Getter for the Kerberos principal of the HCatalog service.
|
String |
getTable()
Getter for the name of the table being insert into.
|
Table |
getTableObj()
Get the table object associated with the insert
|
Long |
getTimestamp()
Getter for the timestamp associated with the operation.
|
boolean |
isRefreshEvent()
Getter for the replace flag being insert into/overwrite
|
String |
toString() |
checkValidgetEventTypepublic JSONReloadMessage()
public String getTable()
ReloadMessagegetTable in class ReloadMessagepublic String getServer()
EventMessagegetServer in class EventMessagepublic String getServicePrincipal()
EventMessagegetServicePrincipal in class EventMessagepublic String getDB()
EventMessagegetDB in class EventMessagepublic Long getTimestamp()
EventMessagegetTimestamp in class EventMessagepublic boolean isRefreshEvent()
ReloadMessageisRefreshEvent in class ReloadMessagepublic Table getTableObj() throws Exception
ReloadMessagegetTableObj in class ReloadMessageExceptionpublic Partition getPtnObj() throws Exception
ReloadMessagegetPtnObj in class ReloadMessageExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.