public class JSONCreateFunctionMessage extends CreateFunctionMessage
EventMessage.EventTypeeventType| Constructor and Description |
|---|
JSONCreateFunctionMessage()
Default constructor, required for Jackson.
|
JSONCreateFunctionMessage(String server,
String servicePrincipal,
org.apache.hadoop.hive.metastore.api.Function fn,
Long timestamp) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDB()
Getter for the name of the Database on which the Metastore operation is done.
|
org.apache.hadoop.hive.metastore.api.Function |
getFunctionObj() |
String |
getFunctionObjJson() |
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() |
checkValidgetEventTypepublic JSONCreateFunctionMessage()
public String getDB()
EventMessagegetDB in class EventMessagepublic String getServer()
EventMessagegetServer in class EventMessagepublic String getServicePrincipal()
EventMessagegetServicePrincipal in class EventMessagepublic Long getTimestamp()
EventMessagegetTimestamp in class EventMessagepublic String getFunctionObjJson()
public org.apache.hadoop.hive.metastore.api.Function getFunctionObj()
throws Exception
getFunctionObj in class CreateFunctionMessageExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.