public class JSONAddUniqueConstraintMessage extends AddUniqueConstraintMessage
EventMessage.EventType
eventType
Constructor and Description |
---|
JSONAddUniqueConstraintMessage()
Default constructor, needed for Jackson.
|
JSONAddUniqueConstraintMessage(String server,
String servicePrincipal,
List<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<SQLUniqueConstraint> |
getUniqueConstraints()
Getter for list of unique constraints.
|
String |
toString() |
checkValid, getEventType
public JSONAddUniqueConstraintMessage()
public JSONAddUniqueConstraintMessage(String server, String servicePrincipal, List<SQLUniqueConstraint> uks, Long timestamp)
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 List<SQLUniqueConstraint> getUniqueConstraints() throws Exception
AddUniqueConstraintMessage
getUniqueConstraints
in class AddUniqueConstraintMessage
Exception
Copyright © 2019 The Apache Software Foundation. All rights reserved.