public class JSONCreateTableMessage extends CreateTableMessage
HCatEventMessage.EventTypeeventType| Constructor and Description |
|---|
JSONCreateTableMessage()
Default constructor, needed for Jackson.
|
JSONCreateTableMessage(String server,
String servicePrincipal,
String db,
String table,
Long timestamp) |
JSONCreateTableMessage(String server,
String servicePrincipal,
String db,
String table,
String tableType,
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.
|
String |
getTable()
Getter for the name of table created in HCatalog.
|
String |
getTableType() |
Long |
getTimestamp()
Getter for the timestamp associated with the operation.
|
String |
toString() |
checkValidgetEventTypepublic JSONCreateTableMessage()
public JSONCreateTableMessage(String server, String servicePrincipal, String db, String table, Long timestamp)
public String getServer()
HCatEventMessagegetServer in class HCatEventMessagepublic String getServicePrincipal()
HCatEventMessagegetServicePrincipal in class HCatEventMessagepublic String getDB()
HCatEventMessagegetDB in class HCatEventMessagepublic Long getTimestamp()
HCatEventMessagegetTimestamp in class HCatEventMessagepublic String getTable()
CreateTableMessagegetTable in class CreateTableMessagepublic String getTableType()
getTableType in class CreateTableMessageCopyright © 2019 The Apache Software Foundation. All Rights Reserved.