public class JSONAddPrimaryKeyMessage extends AddPrimaryKeyMessage
EventMessage.EventType
eventType
Constructor and Description |
---|
JSONAddPrimaryKeyMessage()
Default constructor, needed for Jackson.
|
JSONAddPrimaryKeyMessage(String server,
String servicePrincipal,
List<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<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, getEventType
public JSONAddPrimaryKeyMessage()
public JSONAddPrimaryKeyMessage(String server, String servicePrincipal, List<SQLPrimaryKey> pks, 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<SQLPrimaryKey> getPrimaryKeys() throws Exception
AddPrimaryKeyMessage
getPrimaryKeys
in class AddPrimaryKeyMessage
Exception
Copyright © 2022 The Apache Software Foundation. All rights reserved.