public class JSONAddPrimaryKeyMessage extends AddPrimaryKeyMessage
EventMessage.EventTypeeventType| Constructor and Description |
|---|
JSONAddPrimaryKeyMessage()
Default constructor, needed for Jackson.
|
JSONAddPrimaryKeyMessage(String server,
String servicePrincipal,
List<org.apache.hadoop.hive.metastore.api.SQLPrimaryKey> pks,
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.SQLPrimaryKey> |
getPrimaryKeys()
Getter for list of primary 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 JSONAddPrimaryKeyMessage()
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.SQLPrimaryKey> getPrimaryKeys() throws Exception
AddPrimaryKeyMessagegetPrimaryKeys in class AddPrimaryKeyMessageExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.