public class JSONAddDefaultConstraintMessage extends AddDefaultConstraintMessage
EventMessage.EventTypeeventType| Constructor and Description |
|---|
JSONAddDefaultConstraintMessage()
Default constructor, needed for Jackson.
|
JSONAddDefaultConstraintMessage(String server,
String servicePrincipal,
List<SQLDefaultConstraint> dcs,
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<SQLDefaultConstraint> |
getDefaultConstraints()
Getter for list of default constraints.
|
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 JSONAddDefaultConstraintMessage()
public JSONAddDefaultConstraintMessage(String server, String servicePrincipal, List<SQLDefaultConstraint> dcs, Long timestamp)
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<SQLDefaultConstraint> getDefaultConstraints() throws Exception
AddDefaultConstraintMessagegetDefaultConstraints in class AddDefaultConstraintMessageExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.