public class JSONAlterPartitionMessage extends AlterPartitionMessage
EventMessage.EventTypeeventType| Constructor and Description |
|---|
JSONAlterPartitionMessage()
Default constructor, needed for Jackson.
|
JSONAlterPartitionMessage(String server,
String servicePrincipal,
org.apache.hadoop.hive.metastore.api.Table tableObj,
org.apache.hadoop.hive.metastore.api.Partition partitionObjBefore,
org.apache.hadoop.hive.metastore.api.Partition partitionObjAfter,
boolean isTruncateOp,
Long timestamp) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDB()
Getter for the name of the Database on which the Metastore operation is done.
|
boolean |
getIsTruncateOp() |
Map<String,String> |
getKeyValues() |
String |
getPartitionObjAfterJson() |
String |
getPartitionObjBeforeJson() |
org.apache.hadoop.hive.metastore.api.Partition |
getPtnObjAfter() |
org.apache.hadoop.hive.metastore.api.Partition |
getPtnObjBefore() |
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 JSONAlterPartitionMessage()
public JSONAlterPartitionMessage(String server, String servicePrincipal, org.apache.hadoop.hive.metastore.api.Table tableObj, org.apache.hadoop.hive.metastore.api.Partition partitionObjBefore, org.apache.hadoop.hive.metastore.api.Partition partitionObjAfter, boolean isTruncateOp, Long timestamp)
public String getServer()
EventMessagegetServer in class EventMessagepublic String getServicePrincipal()
EventMessagegetServicePrincipal in class EventMessagepublic String getDB()
EventMessagegetDB in class EventMessagepublic Long getTimestamp()
EventMessagegetTimestamp in class EventMessagepublic String getTable()
getTable in class AlterPartitionMessagepublic String getTableType()
getTableType in class AlterPartitionMessagepublic boolean getIsTruncateOp()
getIsTruncateOp in class AlterPartitionMessagepublic Map<String,String> getKeyValues()
getKeyValues in class AlterPartitionMessagepublic org.apache.hadoop.hive.metastore.api.Table getTableObj()
throws Exception
getTableObj in class AlterPartitionMessageExceptionpublic org.apache.hadoop.hive.metastore.api.Partition getPtnObjBefore()
throws Exception
getPtnObjBefore in class AlterPartitionMessageExceptionpublic org.apache.hadoop.hive.metastore.api.Partition getPtnObjAfter()
throws Exception
getPtnObjAfter in class AlterPartitionMessageExceptionpublic String getTableObjJson()
public String getPartitionObjBeforeJson()
public String getPartitionObjAfterJson()
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.