public class JSONCreateDatabaseMessage extends CreateDatabaseMessage
EventMessage.EventTypeeventType| Constructor and Description |
|---|
JSONCreateDatabaseMessage()
Default constructor, required for Jackson.
|
JSONCreateDatabaseMessage(String server,
String servicePrincipal,
org.apache.hadoop.hive.metastore.api.Database db,
Long timestamp) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.hive.metastore.api.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 JSONCreateDatabaseMessage()
public org.apache.hadoop.hive.metastore.api.Database getDatabaseObject()
throws Exception
getDatabaseObject in class CreateDatabaseMessageExceptionpublic String getDB()
EventMessagegetDB in class EventMessagepublic String getServer()
EventMessagegetServer in class EventMessagepublic String getServicePrincipal()
EventMessagegetServicePrincipal in class EventMessagepublic Long getTimestamp()
EventMessagegetTimestamp in class EventMessageCopyright © 2019 The Apache Software Foundation. All Rights Reserved.