public class JSONAddForeignKeyMessage extends AddForeignKeyMessage
EventMessage.EventTypeeventType| Constructor and Description |
|---|
JSONAddForeignKeyMessage()
Default constructor, needed for Jackson.
|
JSONAddForeignKeyMessage(String server,
String servicePrincipal,
List<org.apache.hadoop.hive.metastore.api.SQLForeignKey> fks,
Long timestamp) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDB()
Getter for the name of the Database on which the Metastore operation is done.
|
List<org.apache.hadoop.hive.metastore.api.SQLForeignKey> |
getForeignKeys()
Getter for list of foreign keys.
|
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 JSONAddForeignKeyMessage()
public String getServer()
EventMessagegetServer in class EventMessagepublic String getServicePrincipal()
EventMessagegetServicePrincipal in class EventMessagepublic String getDB()
EventMessagegetDB in class EventMessagepublic Long getTimestamp()
EventMessagegetTimestamp in class EventMessagepublic List<org.apache.hadoop.hive.metastore.api.SQLForeignKey> getForeignKeys() throws Exception
AddForeignKeyMessagegetForeignKeys in class AddForeignKeyMessageExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.