public class JSONCreateDatabaseMessage extends CreateDatabaseMessage
HCatEventMessage.EventType
eventType
Constructor and Description |
---|
JSONCreateDatabaseMessage()
Default constructor, required for Jackson.
|
JSONCreateDatabaseMessage(String server,
String servicePrincipal,
String db,
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.
|
Long |
getTimestamp()
Getter for the timestamp associated with the operation.
|
String |
toString() |
checkValid, getEventType
public JSONCreateDatabaseMessage()
public String getDB()
HCatEventMessage
getDB
in class HCatEventMessage
public String getServer()
HCatEventMessage
getServer
in class HCatEventMessage
public String getServicePrincipal()
HCatEventMessage
getServicePrincipal
in class HCatEventMessage
public Long getTimestamp()
HCatEventMessage
getTimestamp
in class HCatEventMessage
Copyright © 2017 The Apache Software Foundation. All rights reserved.