public class JSONDropPartitionMessage extends DropPartitionMessage
EventMessage.EventTypeeventType| Constructor and Description |
|---|
JSONDropPartitionMessage()
Default Constructor.
|
JSONDropPartitionMessage(String server,
String servicePrincipal,
String db,
String table,
List<Map<String,String>> partitions,
Long timestamp) |
JSONDropPartitionMessage(String server,
String servicePrincipal,
String db,
String table,
String tableType,
List<Map<String,String>> partitions,
Long timestamp) |
JSONDropPartitionMessage(String server,
String servicePrincipal,
org.apache.hadoop.hive.metastore.api.Table tableObj,
List<Map<String,String>> partitionKeyValues,
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() |
String |
getServer()
Getter for HCatalog Server's URL.
|
String |
getServicePrincipal()
Getter for the Kerberos principal of the HCatalog service.
|
String |
getTable() |
org.apache.hadoop.hive.metastore.api.Table |
getTableObj() |
String |
getTableObjJson() |
String |
getTableType() |
Long |
getTimestamp()
Getter for the timestamp associated with the operation.
|
String |
toString() |
checkValidgetEventTypepublic JSONDropPartitionMessage()
public JSONDropPartitionMessage(String server, String servicePrincipal, String db, String table, List<Map<String,String>> partitions, Long timestamp)
public JSONDropPartitionMessage(String server, String servicePrincipal, String db, String table, String tableType, List<Map<String,String>> partitions, Long timestamp)
public String getServer()
EventMessagegetServer in class EventMessagepublic String getServicePrincipal()
EventMessagegetServicePrincipal in class EventMessagepublic String getDB()
EventMessagegetDB in class EventMessagepublic String getTable()
getTable in class DropPartitionMessagepublic String getTableType()
getTableType in class DropPartitionMessagepublic Long getTimestamp()
EventMessagegetTimestamp in class EventMessagepublic List<Map<String,String>> getPartitions()
getPartitions in class DropPartitionMessagepublic org.apache.hadoop.hive.metastore.api.Table getTableObj()
throws Exception
getTableObj in class DropPartitionMessageExceptionpublic String getTableObjJson()
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.