public class JSONDropTableMessage extends DropTableMessage
EventMessage.EventType
eventType
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,
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.
|
Table |
getTableObj() |
String |
getTableType() |
Long |
getTimestamp()
Getter for the timestamp associated with the operation.
|
String |
toString() |
checkValid
getEventType
public 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()
DropTableMessage
getTable
in class DropTableMessage
public String getTableType()
getTableType
in class DropTableMessage
public Table getTableObj() throws Exception
getTableObj
in class DropTableMessage
Exception
public String getServer()
EventMessage
getServer
in class EventMessage
public String getServicePrincipal()
EventMessage
getServicePrincipal
in class EventMessage
public String getDB()
EventMessage
getDB
in class EventMessage
public Long getTimestamp()
EventMessage
getTimestamp
in class EventMessage
Copyright © 2022 The Apache Software Foundation. All rights reserved.