public class JSONDropDatabaseMessage extends DropDatabaseMessage
EventMessage.EventTypeeventType| Constructor and Description |
|---|
JSONDropDatabaseMessage()
Default constructor, required for Jackson.
|
JSONDropDatabaseMessage(String server,
String servicePrincipal,
Database db,
Long timestamp) |
| Modifier and Type | Method and Description |
|---|---|
Database |
getDatabaseObject() |
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.
|
Long |
getTimestamp()
Getter for the timestamp associated with the operation.
|
String |
toString() |
checkValid, getEventTypepublic JSONDropDatabaseMessage()
public String getServer()
EventMessagegetServer in class EventMessagepublic String getServicePrincipal()
EventMessagegetServicePrincipal in class EventMessagepublic String getDB()
EventMessagegetDB in class EventMessagepublic Long getTimestamp()
EventMessagegetTimestamp in class EventMessagepublic Database getDatabaseObject() throws Exception
getDatabaseObject in class DropDatabaseMessageExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.