public class JSONAddPartitionMessage extends AddPartitionMessage
HCatEventMessage.EventType
eventType
Constructor and Description |
---|
JSONAddPartitionMessage()
Default Constructor.
|
JSONAddPartitionMessage(String server,
String servicePrincipal,
String db,
String table,
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).
|
Long |
getTimestamp()
Getter for the timestamp associated with the operation.
|
String |
toString() |
checkValid
getEventType
public JSONAddPartitionMessage()
public String getServer()
HCatEventMessage
getServer
in class HCatEventMessage
public String getServicePrincipal()
HCatEventMessage
getServicePrincipal
in class HCatEventMessage
public String getDB()
HCatEventMessage
getDB
in class HCatEventMessage
public String getTable()
AddPartitionMessage
getTable
in class AddPartitionMessage
public Long getTimestamp()
HCatEventMessage
getTimestamp
in class HCatEventMessage
public List<Map<String,String>> getPartitions()
AddPartitionMessage
getPartitions
in class AddPartitionMessage
Copyright © 2017 The Apache Software Foundation. All rights reserved.