public class JSONAlterPartitionMessage extends AlterPartitionMessage
EventMessage.EventType
eventType
Constructor and Description |
---|
JSONAlterPartitionMessage()
Default constructor, needed for Jackson.
|
JSONAlterPartitionMessage(String server,
String servicePrincipal,
Table tableObj,
Partition partitionObjBefore,
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() |
Partition |
getPtnObjAfter() |
Partition |
getPtnObjBefore() |
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() |
String |
getTableType() |
Long |
getTimestamp()
Getter for the timestamp associated with the operation.
|
String |
toString() |
checkValid
getEventType
public JSONAlterPartitionMessage()
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 Long getTimestamp()
EventMessage
getTimestamp
in class EventMessage
public String getTable()
getTable
in class AlterPartitionMessage
public String getTableType()
getTableType
in class AlterPartitionMessage
public boolean getIsTruncateOp()
getIsTruncateOp
in class AlterPartitionMessage
public Map<String,String> getKeyValues()
getKeyValues
in class AlterPartitionMessage
public Table getTableObj() throws Exception
getTableObj
in class AlterPartitionMessage
Exception
public Partition getPtnObjBefore() throws Exception
getPtnObjBefore
in class AlterPartitionMessage
Exception
public Partition getPtnObjAfter() throws Exception
getPtnObjAfter
in class AlterPartitionMessage
Exception
public String getTableObjJson()
public String getPartitionObjBeforeJson()
public String getPartitionObjAfterJson()
Copyright © 2022 The Apache Software Foundation. All rights reserved.