public class JSONAlterDatabaseMessage extends AlterDatabaseMessage
EventMessage.EventType
eventType
Constructor and Description |
---|
JSONAlterDatabaseMessage()
Default constructor, needed for Jackson.
|
JSONAlterDatabaseMessage(String server,
String servicePrincipal,
Database dbObjBefore,
Database dbObjAfter,
Long timestamp) |
Modifier and Type | Method and Description |
---|---|
String |
getDB()
Getter for the name of the Database on which the Metastore operation is done.
|
Database |
getDbObjAfter() |
Database |
getDbObjBefore() |
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 JSONAlterDatabaseMessage()
public String getServer()
EventMessage
getServer
in class EventMessage
public String getServicePrincipal()
EventMessage
getServicePrincipal
in class EventMessage
public String getDB()
EventMessage
getDB
in class EventMessage
public Long getTimestamp()
EventMessage
getTimestamp
in class EventMessage
public Database getDbObjBefore() throws Exception
getDbObjBefore
in class AlterDatabaseMessage
Exception
public Database getDbObjAfter() throws Exception
getDbObjAfter
in class AlterDatabaseMessage
Exception
Copyright © 2019 The Apache Software Foundation. All rights reserved.