public class JSONAlterCatalogMessage extends AlterCatalogMessage
EventMessage.EventTypeeventType| Constructor and Description |
|---|
JSONAlterCatalogMessage()
Default constructor, needed for Jackson.
|
JSONAlterCatalogMessage(String server,
String servicePrincipal,
org.apache.hadoop.hive.metastore.api.Catalog catObjBefore,
org.apache.hadoop.hive.metastore.api.Catalog catObjAfter,
Long timestamp) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.hive.metastore.api.Catalog |
getCatObjAfter() |
org.apache.hadoop.hive.metastore.api.Catalog |
getCatObjBefore() |
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 JSONAlterCatalogMessage()
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 org.apache.hadoop.hive.metastore.api.Catalog getCatObjBefore()
throws Exception
getCatObjBefore in class AlterCatalogMessageExceptionpublic org.apache.hadoop.hive.metastore.api.Catalog getCatObjAfter()
throws Exception
getCatObjAfter in class AlterCatalogMessageExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.