public class JSONAddUniqueConstraintMessage extends AddUniqueConstraintMessage
EventMessage.EventTypeeventType| Constructor and Description |
|---|
JSONAddUniqueConstraintMessage()
Default constructor, needed for Jackson.
|
JSONAddUniqueConstraintMessage(String server,
String servicePrincipal,
List<org.apache.hadoop.hive.metastore.api.SQLUniqueConstraint> uks,
Long timestamp) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
List<org.apache.hadoop.hive.metastore.api.SQLUniqueConstraint> |
getUniqueConstraints()
Getter for list of unique constraints.
|
String |
toString() |
checkValid, getEventTypepublic JSONAddUniqueConstraintMessage()
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.SQLUniqueConstraint> getUniqueConstraints() throws Exception
AddUniqueConstraintMessagegetUniqueConstraints in class AddUniqueConstraintMessageExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.