public class JSONAlterPartitionMessage extends AlterPartitionMessage
HCatEventMessage.EventTypeeventType| Constructor and Description |
|---|
JSONAlterPartitionMessage()
Default constructor, needed for Jackson.
|
JSONAlterPartitionMessage(String server,
String servicePrincipal,
String db,
String table,
Map<String,String> keyValues,
Long timestamp) |
JSONAlterPartitionMessage(String server,
String servicePrincipal,
String db,
String table,
String tableType,
Map<String,String> keyValues,
Long timestamp) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDB()
Getter for the name of the Database on which the Metastore operation is done.
|
Map<String,String> |
getKeyValues() |
String |
getServer()
Getter for HCatalog Server's URL.
|
String |
getServicePrincipal()
Getter for the Kerberos principal of the HCatalog service.
|
String |
getTable() |
String |
getTableType() |
Long |
getTimestamp()
Getter for the timestamp associated with the operation.
|
String |
toString() |
checkValidgetEventTypepublic JSONAlterPartitionMessage()
public JSONAlterPartitionMessage(String server, String servicePrincipal, String db, String table, Map<String,String> keyValues, Long timestamp)
public String getServer()
HCatEventMessagegetServer in class HCatEventMessagepublic String getServicePrincipal()
HCatEventMessagegetServicePrincipal in class HCatEventMessagepublic String getDB()
HCatEventMessagegetDB in class HCatEventMessagepublic Long getTimestamp()
HCatEventMessagegetTimestamp in class HCatEventMessagepublic String getTable()
getTable in class AlterPartitionMessagepublic String getTableType()
getTableType in class AlterPartitionMessagepublic Map<String,String> getKeyValues()
getKeyValues in class AlterPartitionMessageCopyright © 2019 The Apache Software Foundation. All Rights Reserved.