public class JSONCreateFunctionMessage extends CreateFunctionMessage
EventMessage.EventType
eventType
Constructor and Description |
---|
JSONCreateFunctionMessage()
Default constructor, required for Jackson.
|
JSONCreateFunctionMessage(String server,
String servicePrincipal,
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.
|
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() |
checkValid
getEventType
public JSONCreateFunctionMessage()
public String getDB()
EventMessage
getDB
in class EventMessage
public String getServer()
EventMessage
getServer
in class EventMessage
public String getServicePrincipal()
EventMessage
getServicePrincipal
in class EventMessage
public Long getTimestamp()
EventMessage
getTimestamp
in class EventMessage
public String getFunctionObjJson()
public Function getFunctionObj() throws Exception
getFunctionObj
in class CreateFunctionMessage
Exception
Copyright © 2022 The Apache Software Foundation. All rights reserved.