public class JSONAddCheckConstraintMessage extends AddCheckConstraintMessage
EventMessage.EventTypeeventType| Constructor and Description |
|---|
JSONAddCheckConstraintMessage()
Default constructor, needed for Jackson.
|
JSONAddCheckConstraintMessage(String server,
String servicePrincipal,
List<SQLCheckConstraint> ccs,
Long timestamp) |
| Modifier and Type | Method and Description |
|---|---|
List<SQLCheckConstraint> |
getCheckConstraints()
Getter for list of check constraints.
|
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.
|
String |
toString() |
checkValid, getEventTypepublic JSONAddCheckConstraintMessage()
public JSONAddCheckConstraintMessage(String server, String servicePrincipal, List<SQLCheckConstraint> ccs, 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<SQLCheckConstraint> getCheckConstraints() throws Exception
AddCheckConstraintMessagegetCheckConstraints in class AddCheckConstraintMessageExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.