public class JSONDropTableMessage extends DropTableMessage
EventMessage.EventTypeeventType| Constructor and Description |
|---|
JSONDropTableMessage()
Default constructor, needed for Jackson.
|
JSONDropTableMessage(String server,
String servicePrincipal,
String db,
String table,
Long timestamp) |
JSONDropTableMessage(String server,
String servicePrincipal,
String db,
String table,
String tableType,
Long timestamp) |
JSONDropTableMessage(String server,
String servicePrincipal,
org.apache.hadoop.hive.metastore.api.Table tableObj,
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 the table being dropped.
|
org.apache.hadoop.hive.metastore.api.Table |
getTableObj() |
String |
getTableType() |
Long |
getTimestamp()
Getter for the timestamp associated with the operation.
|
String |
toString() |
checkValidgetEventTypepublic JSONDropTableMessage()
public JSONDropTableMessage(String server, String servicePrincipal, String db, String table, Long timestamp)
public JSONDropTableMessage(String server, String servicePrincipal, String db, String table, String tableType, Long timestamp)
public String getTable()
DropTableMessagegetTable in class DropTableMessagepublic String getTableType()
getTableType in class DropTableMessagepublic org.apache.hadoop.hive.metastore.api.Table getTableObj()
throws Exception
getTableObj in class DropTableMessageExceptionpublic String getServer()
EventMessagegetServer in class EventMessagepublic String getServicePrincipal()
EventMessagegetServicePrincipal in class EventMessagepublic String getDB()
EventMessagegetDB in class EventMessagepublic Long getTimestamp()
EventMessagegetTimestamp in class EventMessageCopyright © 2019 The Apache Software Foundation. All Rights Reserved.