public class JSONDropPartitionMessage extends DropPartitionMessage
EventMessage.EventType
eventType
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,
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() |
Table |
getTableObj() |
String |
getTableObjJson() |
Long |
getTimestamp()
Getter for the timestamp associated with the operation.
|
String |
toString() |
checkValid
getEventType
public JSONDropPartitionMessage()
public JSONDropPartitionMessage(String server, String servicePrincipal, String db, String table, List<Map<String,String>> partitions, 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 String getTable()
getTable
in class DropPartitionMessage
public Long getTimestamp()
EventMessage
getTimestamp
in class EventMessage
public List<Map<String,String>> getPartitions()
getPartitions
in class DropPartitionMessage
public Table getTableObj() throws Exception
getTableObj
in class DropPartitionMessage
Exception
public String getTableObjJson()
Copyright © 2021 The Apache Software Foundation. All rights reserved.