public class JSONAddPartitionMessage extends AddPartitionMessage
HCatEventMessage.EventTypeeventType| Constructor and Description |
|---|
JSONAddPartitionMessage()
Default Constructor.
|
JSONAddPartitionMessage(String server,
String servicePrincipal,
String db,
String table,
List<Map<String,String>> partitions,
Long timestamp) |
JSONAddPartitionMessage(String server,
String servicePrincipal,
String db,
String table,
String tableType,
List<Map<String,String>> partitions,
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<Map<String,String>> |
getPartitions()
Getter for list of partitions added.
|
String |
getServer()
Getter for HCatalog Server's URL.
|
String |
getServicePrincipal()
Getter for the Kerberos principal of the HCatalog service.
|
String |
getTable()
Getter for name of table (where partitions are added).
|
String |
getTableType() |
Long |
getTimestamp()
Getter for the timestamp associated with the operation.
|
String |
toString() |
checkValidgetEventTypepublic JSONAddPartitionMessage()
public JSONAddPartitionMessage(String server, String servicePrincipal, String db, String table, List<Map<String,String>> partitions, Long timestamp)
public String getServer()
HCatEventMessagegetServer in class HCatEventMessagepublic String getServicePrincipal()
HCatEventMessagegetServicePrincipal in class HCatEventMessagepublic String getDB()
HCatEventMessagegetDB in class HCatEventMessagepublic String getTable()
AddPartitionMessagegetTable in class AddPartitionMessagepublic String getTableType()
getTableType in class AddPartitionMessagepublic Long getTimestamp()
HCatEventMessagegetTimestamp in class HCatEventMessagepublic List<Map<String,String>> getPartitions()
AddPartitionMessagegetPartitions in class AddPartitionMessageCopyright © 2019 The Apache Software Foundation. All Rights Reserved.